Search Results

Search: Posts Made By: xinuuser
Forum: Solaris 08-01-2011
11,623
Posted By xinuuser
sed print range alongwith line numbers.
hi working with sed in a shell script
using sed to print a range of lines from a given file
for example to print lines 12-24 from a file
sed 12,24p <filename>

however i need to print the line...
Showing results 1 to 1 of 1

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