Re: funneling a file to stdin from the command line
- From: "c gordon liddy" <invalid@xxxxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 15:30:21 -0700
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote in message
news:dcSdnTkR6bqr5XjanZ2dnUVZ8sLinZ2d@xxxxxxxxx
c gordon liddy said:Thanks, Richard and Walter. That had to be some kind of record for quick
<snip>
With stdout, I'll redirect so:
text4.txt 2>text5.txt, once I want the output to have a more permanent existence than in a dos
window.
How do I funnel a file to stdin from the command line?
In a vanilla Win32 console, it's:
yourprogram < yourdatafile.txt
and effective responses.
I can't believe I didn't think to turn the arrows around. It is a
shell-specific thing, but I'd bet it works on a lot of systems.
Happy Easter. I think in the U.K, you're already there. My dad would hide
everybody else's baskets in the living room, dining, study. He'd hide mine
in the crawlspace of the garage. I found it every year, though.
--
C. Gordon Liddy
"Virile, vigorous, potent."
.
- References:
- funneling a file to stdin from the command line
- From: c gordon liddy
- Re: funneling a file to stdin from the command line
- From: Richard Heathfield
- funneling a file to stdin from the command line
- Prev by Date: Re: What happens when your program crashes?
- Next by Date: Re: How does printf() works
- Previous by thread: Re: funneling a file to stdin from the command line
- Index(es):
Relevant Pages
|