POV-Ray : Newsgroups : povray.off-topic : Context switching : Re: Context switching Server Time
5 Sep 2024 07:26:36 EDT (-0400)
  Re: Context switching  
From: Darren New
Date: 22 Apr 2010 11:46:32
Message: <4bd06f58$1@news.povray.org>
Warp wrote:
>   The shell doing the expansion rather than the program is a rather clever
> idea. 

It has its drawbacks, too. Having a file named -rf in your home directory 
leads to problems, for example.  Before shells properly escaped everything, 
files with spaces in the names were very problematic as well.

>   Filtering some files through a chain of programs (such as grep and sed)
> takes just a few seconds of writing a few commands on the command line.
> Writing a program to do that would probably take a hundred times longer.

Depends on your tools at hand and what kind of files you're searching.

-- 
Darren New, San Diego CA, USA (PST)
   Linux: Now bringing the quality and usability of
   open source desktop apps to your personal electronics.


Post a reply to this message

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