Search Results

Search: Posts Made By: sudipa
34,801
Posted By sudipa
u can try this
#the code is
x=0
while read -r var
do
filename[ $x ]=$var
x=`expr $x + 1`
done < file
y=0
while [ $y -le $x ]
do
echo $filename[ $y ]
y= `expr $y + 1`
done
1,769
Posted By sudipa
thanx
thanks for the reply.
i don't have -i option with sed.
and the last command given by u also does n't work.
even i had tried with that command first and then i wrote
a different script for...
1,769
Posted By sudipa
any special command for overwritting
after replacing a string by sed in a file if i want to save the
changes is it necessary to write an overwritting shell script

I want to know if there is any special command using which
i can...
Showing results 1 to 3 of 3

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