Search Results

Search: Posts Made By: Trufla
5,438
Posted By Trufla
That works! I was getting the user to type...
That works!

I was getting the user to type '>' so it was stored in the variable.

the script didn't like this at all!



Thanks for that!
5,438
Posted By Trufla
aaah, I hadn't thought of that! Will give it a...
aaah, I hadn't thought of that! Will give it a go!


Cheers!


trufla
5,438
Posted By Trufla
Script for writing to files with sed
I have a problem with syntax methinks, when it comes to sed.

This is my script for a user to type sed commands:-

yes=y

function writefunction
{
$tool $command $newfilename $filename
}
...
17,655
Posted By Trufla
FANTASTIC! Cheers!
FANTASTIC!

Cheers!
17,655
Posted By Trufla
I still have problems: I typed:- #no...
I still have problems:
I typed:-

#no single quotes/backquotes or back ticks
-n /Pearce/
#I also tried it without suppression command


I got an error:-

sed: -e expression #1, char 8:...
17,655
Posted By Trufla
grep, sed in a shell script
Hi,

I have a problem with a simple script I am trying to write. I want a user to type grep, sed commands that are then stored in variables. Those variables are stored in a function, and the...
Showing results 1 to 6 of 6

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