I want to print only the 4th line "one way to". i tried something likethere is more than one way to do it
can u please correct me if i m wrong !! thanks :)perl -i -e 'while(<>){print $_[3];}' file.txt
In reply to perl one liner to print a line by sugar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |