Search Results

Search: Posts Made By: blick
2,883
Posted By blick
sed and bash
Also note that when you use commands with ssh, your command gets launched instead of a login shell.

So redirects like > don't work: those are part of the shell.

IIRC, you can do something like,...
2,883
Posted By blick
variables in sed
Using variables in sed scripts is tricky, and it looks like you're caught on the first step.

Ever program in C? When this command runs:

sed -e 's/$source/$target/g' $remotedir/$source.mg
...
Showing results 1 to 2 of 2

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