Help for this page

Select Code to Download


  1. or download this
    perl -pale '$_=$F[1]'
    
  2. or download this
    pcol() {
    perl -pale "\$_=\$F[$1]" $2
    }
    
  3. or download this
    pcol 1 list.file  # prints $F[1] (second column) from list.file
    
    ls -lg | pcol 4  # prints byte counts of files in cwd