Re: Feedback: Six Nautilus annoyances



On Tue, 2004-02-17 at 18:09, Manuel Amador (Rudd-O) wrote:
> > Well. You don't have to do that. Just put e.g. "cd `dirname $0`" on the
> > first line of the script.
> 
> You see, this will fail if directories have spaces.

cd "`dirname "$0"`"

> This is also a non-sequitur for regular home users.

Home users don't write sh scripts, and people who can code shell scripts
should know a little about shell escaping and path manipulation.

Ross
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8680 8712
Cygnet House                    Fax: +44 20 8680 8453
12-14 Sydenham Road             r burton 180sw com
Croydon, Surrey CR9 2ET, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]