Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi,

I would like to ask how to get the 4th to the last value in a file. I don't have problem on extracting a value from the beginning of the file using this sed (e.g. sed -n 'p' filename) only have a trouble when parsing value using the last part of the file.
Posted
Comments
Unihedron 14-Dec-14 1:12am    
What's a "value"? A sequence of strings? A number? At moment of reading, I have no idea what response you're expecting.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900