Search Results

Search: Posts Made By: vidhun.v
3,451
Posted By vidhun.v
shell script
have alook my shell script

#!/bin/sh
for i in `cat ex1.txt `
do
grep $i new.sh
if [ $? != 0 ]
then
{
here i want replce the difference into new.sh

}
fi
done
so what will i...
3,451
Posted By vidhun.v
Hello It's ok. have a look my files one is...
Hello
It's ok.
have a look my files one is text file.
and another is shell file.
this is my shell file
!/bin/sh
cat>>DNS_Registry<<!
$TTL 3600
@ IN SOA ns2.isgroup.sr. admin.isgroup.sr. (...
3,451
Posted By vidhun.v
no.it is not good aways copy to one.I think you...
no.it is not good aways copy to one.I think you didn't understand my question.IF i change one text in a file1.Then i also want same change in file2.

---------- Post updated at 08:59 AM ----------...
3,451
Posted By vidhun.v
shell script for changing two text files
HELLO
I am new in shell bash script>
I have two text files.They contain same datas.
I want to change some text in two files.If I changed in one file.Then I want to change another same file without...
Showing results 1 to 4 of 4

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