Re: [SLUG] mplayer and symbols in file name

From: Chad Perrin (perrin@apotheon.com)
Date: Mon May 10 2004 - 20:56:24 EDT


Eben King wrote:

>No. If you type
>
>/bin/foo 1 2
>
>foo gets two arguments, '1' and '2'. You get the same invocation as if
>you had typed
>
>/bin/foo "1" "2"
>
>It's up to /bin/foo whether to treat them as 0x01 and 0x02 or ASCII 0x32
>and 0x33. If you type
>
>/bin/foo "1 2"
>
>foo gets one argument, '1 2'. All this is based on what interprets your
>typing, but this is usually how it's done.
>
>
>
I take it, then, that anything inside quotes is typically interpreted by
the shell, and the quotes only serve to group elements of a statement
together.

-- 
Chad Perrin

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:05:43 EDT