<div dir="ltr">use $@ instead of $*<div><br><br><div class="gmail_quote">On Mon, Jun 14, 2010 at 3:27 PM, Aharon Schkolnik <span dir="ltr"><<a href="mailto:aschkolnik@gmail.com">aschkolnik@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi.<br>
<br>
I want to write a script which will nice ffmpeg whatever parameters it is<br>
given - ie:<br>
<br>
#!/bin/sh<br>
<br>
nice ffmpeg $*<br>
<br>
#<br>
<br>
<br>
However, what if I have a file named `file one'<br>
<br>
<br>
I would like to type `myscript -i file\ one output.whatever`<br>
<br>
I do not want to change what I type - the script needs to be a drop-in<br>
replacement for the ffmpeg command.<br>
<br>
<br>
Is there any way to do make the script preserve the backslashed space ?<br>
<br>
TIA<br>
<br>
<br>
--<br>
The day is short, and the work is great, | Aharon Schkolnik<br>
and the laborers are lazy, and the reward |<br>
is great, and the Master of the house is | <a href="mailto:aschkolnik@gmail.com">aschkolnik@gmail.com</a><br>
impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div><br></div></div>