Search Results

Search: Posts Made By: ramn214
2,092
Posted By ramn214
The error I get is Incorrect output on test...
The error I get is
Incorrect output on test 33: /home/sub3 'Unix' 'U N I X' '_king cobra.dat' '_ne$wt.foo'
2,092
Posted By ramn214
I am in a Unix environment. Basically this is the...
I am in a Unix environment. Basically this is the error I am getting.
+ REPL='U N I X'
shift
+ shift

for FILE in $*
do
mv $FILE $FILE.txt
sed "s/$PAT/$REPL/g" $FILE.txt >...
2,092
Posted By ramn214
What would I do if I am not just using .bak files...
What would I do if I am not just using .bak files such as .dat or .foo ?
2,092
Posted By ramn214
Actually, that is closer to the results I am...
Actually, that is closer to the results I am looking to but they still are not exact.
Example
~/Unix/script/subst "hi guys" "hello everyone" myFile1.txt myFile2.txt myFile3.txtand I want it to...
2,092
Posted By ramn214
substitution to mulitple files
Hello all,

I am trying to make a script that will apply a substitution to any number of files given on the command line.
Example would be

~/Unix/script/subst car boat myFile1.txt...
Showing results 1 to 5 of 5

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