Search Results

Search: Posts Made By: umal
7,077
Posted By umal
What does ruby mean ?
What does ruby mean ?
7,077
Posted By umal
I tried this out , sed "1,${line} d" log_filename...
I tried this out , sed "1,${line} d" log_filename

This leaves the log_filename as it is. I would have to
sed "1,${line} d" log_filename > log_filename.new
mv log_filename log_filename.old
mv...
7,077
Posted By umal
Delete lines in a file
I wish to delete lines from a log file. Should take a date string as a variable. Find the date in the file, get the line number for the string. Delete lines from 1 to that (line number - 1), all from...
Showing results 1 to 3 of 3

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