Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: Re: Re: system, pipes, shell, quoting

by superpete (Beadle)
on Nov 13, 2002 at 06:32 UTC ( #212504=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: system, pipes, shell, quoting
in thread system, pipes, shell, quoting

Alas, I do not have the luxury of making up my own filenames.

I am working on a "utility" type program executed from crontab rather than as a CGI, and my filenames come from walking a directory tree. The files might be generated by anything, and I want to cover all the bases.

Trying to escape funny characters is a losing battle.

Well... sort-of. Not a problem when doing straight open's, or simple system's (systen with a list of arguments avoids the shell).

When launching a "pipeline" of several external programs, the shell provides tremendous convenience... see original post.

  • Comment on Re: Re: Re: Re: system, pipes, shell, quoting

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://212504]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-06-25 04:53 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (81 votes). Check out past polls.