Search Results

Search: Posts Made By: Kanch
4,788
Posted By Kanch
Ed command execution in script file
for file in File_Name*
do
ed -s $file << 'EOF'
0a
$Header_Record
.
$a
.
...
1,716
Posted By Kanch
How to add a line to the end of a set of files without using sed command?
I understand that the SED command reads all the lines in the file before adding a required line to the end of the file.

Is there another command that adds a line to the end of files without...
Showing results 1 to 2 of 2

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