Help for this page

Select Code to Download


  1. or download this
    echo "a b c d e f g" | awk '{print $3$4}'
    
  2. or download this
    1: ... | perl -ne 'printf("%s%s", (split(" ", $_, 5))[2,3]);'
    2: ... | perl -ne 'print /(?:\S+ ){2}(\S+) (\S+)/
    3: ... | perl -ane 'print "$F[2]$F[3]";'
    4: I even wrote my own subroutine using index/substr to extract what i
    + need ...