in reply to Linux: force commands that expect filename args to accept piped input

If I'm not mistaken, any system that supports /proc/$$/fd/0 also supports /dev/fd/0, so you could just learn to type that instead of carrying your Perl program around. Example:
complex pipe | of commands | nastycommand file1 file2 /dev/fd/0 file3

-- Randal L. Schwartz, Perl hacker

  • Comment on •Re: Linux: force commands that expect filename args to accept piped input
  • Download Code

Replies are listed 'Best First'.
Re: •Re: Linux: force commands that expect filename args to accept piped input
by Felonious (Chaplain) on Feb 24, 2002 at 12:12 UTC
    Thanks! I knew there must have been a simpler solution escaping me.

    -- O thievish Night, Why should'st thou, but for some felonious end, In thy dark lantern thus close up the stars? --Milton