Search Results

Search: Posts Made By: cypression
21,987
Posted By cypression
Aha! I don't why I didn't spot this thread...
Aha!
I don't why I didn't spot this thread before when I was searching, but one of the threads in the 'More UNIX and Linux Forum Topics You Might Find Helpful' section...
21,987
Posted By cypression
Hmm, I also tried changing the line that runs the...
Hmm, I also tried changing the line that runs the command in the script to:
"$commandToRun" ~/t.txt
(which is arguably something I should've done before anyway), but now I get the following:

>...
21,987
Posted By cypression
Thanks for the help, but unfortunately that...
Thanks for the help, but unfortunately that doesn't work :(
Running
> myscript.sh grep \"foo bar\"
gives
> grep: bar": No such file or directory
21,987
Posted By cypression
Retain quotes from bash script arguments
Hi there,

I've been scouring these forums and have found similar threads, but none apparently helped me solved my problem :rolleyes:

I'd like to run a command within a bash script, but that...
Showing results 1 to 4 of 4

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