Sep 24, 2004 #1 ogniemi Technical User Nov 7, 2003 1,041 PL how to print first and last line from the script in one command - not in two steps using head and tail. r, m.
how to print first and last line from the script in one command - not in two steps using head and tail. r, m.
Sep 24, 2004 #2 tikual Technical User Jun 10, 2003 237 HK sed -n -e '1p' -e '$p' yourfile tikual Upvote 0 Downvote