sed print range to end of file
hi, i would like to know how to print (in this case) from line # 298,147 to the last line of the file:
Code:
sed -n 298147,$p hosp-file |
Code:
sed -n '298147,$ p' hosp-file Code:
tail -n +298147 hosp-file |
Quote:
The sed books say always start with single quotes, and then back off to double-quotes where necessary. |
Quote:
|
At the next Nitpickers Convention, I'll buy you a beer......;)
|
All times are GMT -5. The time now is 06:23 PM. |