Search Results

Search: Posts Made By: awasthi_vish
1,867
Posted By awasthi_vish
use this
use this

set file name as command line arg

cat $1 | while read line
do
grep "./" $1
if [ $? -eq 0 ]
then
rep=${line/.\//$PWD/}
echo $rep >>tmp1
else
echo $line >>tmp1
...
Showing results 1 to 1 of 1

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