Search Results

Search: Posts Made By: brendanf
9,564
Posted By brendanf
Nice... THANK YOU! You really helped me out. ...
Nice... THANK YOU! You really helped me out.

All the best.

Brendan
9,564
Posted By brendanf
T H A N K Y O U !!
That works great, thanks so much!!

If I may ask - I know the ^ means the beginning of a row, but what exactly does the /^03 mean to the sed command when it preceeds the s/ ?

Thanks again!!
...
9,564
Posted By brendanf
Sure.
Input file:

01:15
02:30
03:19
04:50
05:65
06:05

Output file:

01:15
02:30
03:27
04:50
05:65
06:05


How would I write a sed command to update 03:19 to 03:27 without
9,564
Posted By brendanf
How to update a single row in a file with sed
Hi. I want to be able to update only one line in a file that matches a key using sed, but I can't seem to get this (the key is right at the beginning of each row)

Here is what I have tried so far,...
Showing results 1 to 4 of 4

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