Search Results

Search: Posts Made By: Agent-X
20,568
Posted By Agent-X
Having problems with sed: can't replace $1
At the moment, I'm trying to do the following:

1. Have sed read the first line of a file

Example (file1.x):

5

2. Replace that first line with a new first line, which would read
...
Showing results 1 to 1 of 1

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