POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
12 Oct 2024 03:17:10 EDT (-0400)
  Re: Adventures with digital painting  
From: Warp
Date: 8 Mar 2008 15:19:15
Message: <47d2f4c2@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Nicolas Alvarez wrote:

> >> 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.
> > 
> > Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)

> That doesn't even work if there *aren't* funky characters in the file name.

  It *does* work, assuming you have a sufficiently modern shell (and not
a 20 years old sh). Modern shells are rather smart at escaping what needs
to be escaped when you write "*".

-- 
                                                          - Warp


Post a reply to this message

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