Search Results - JustLinux Forums


Search:

Type: Posts; User: XiaoKJ

Search: Search took 0.02 seconds.

  1. Replies
    278
    Views
    670,833

    # echo "abc" | sed s/abc/`echo "123"`/ 123 This...

    # echo "abc" | sed s/abc/`echo "123"`/
    123
    This shows that you can simply use
    i=string
    sed s/somestring/`echo $i`/

    EDIT:: be careful of the ` ' and " ! They are all different and you need to...
  2. Replies
    278
    Views
    670,833

    The 2x2 matrix is the 2-row 2-column square...

    The 2x2 matrix is the 2-row 2-column square matrix, and 8 multiplications and 4 additions are correct. Its the standard def of matrix. Check out wikipedia for it.
Results 1 to 2 of 2