Search Results

Search: Posts Made By: vingupta
5,666
Posted By vingupta
Try this code
Have two files first.sh, second.sed as below.

first.sh
-----------------------------
#!/bin/ksh
for i in *.txt
{
echo $i
/usr/bin/sed -f second.sed <$i> temp1
mv -f temp1 $i
} ...
Showing results 1 to 1 of 1

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