POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
12 Oct 2024 05:08:55 EDT (-0400)
  Re: Adventures with digital painting  
From: Darren New
Date: 8 Mar 2008 14:54:06
Message: <47d2eede$1@news.povray.org>
Warp wrote:
> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>> 1. If the file is called -, you're calling for trouble anyway.
> 
>> 2. Whoever passes a filename to your script should be using the ./- thing.
> 
>   Many shellscripts break with file names with spaces in them. 

Actually, it's worse. There are surprisingly few utilities that don't 
break on *any* possible file name.

Here's a contest. Given the directory /tmp/stuff, delete all the files 
in that directory that end with ".tmp".

Let's see how many iterations it takes to get actually right.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.