Search Results

Search: Posts Made By: satin1321
7,340
Posted By bakunin
sparks partly got it right: sed -n '1p;$p' ...
sparks partly got it right:

sed -n '1p;$p'

will print the first and last line of whatever comes its way: in a pipeline it prints the first and the last line of the input, given a filename it...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy