Search Results

Search: Posts Made By: sg3
3,777
Posted By elixir_sinari
sed -n '100000,200000{;p;200000q;}' file This...
sed -n '100000,200000{;p;200000q;}' file
This will quit after printing 200000th line.
3,777
Posted By elixir_sinari
Yes. That command is reading your file...
Yes. That command is reading your file sequentially till the 177998637th line and then printing this and the next line and then quitting the read operation. So you see, to print just those 2 lines,...
Showing results 1 to 2 of 2

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