This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bash redirection problem
- From: Michael A Chase <mchase at ix dot netcom dot com>
- To: "Newman, Robin" <rbn at oundle dot northants dot sch dot uk>, cygwin at cygwin dot com
- Date: Wed, 19 Jun 2002 08:09:32 -0700 (Pacific Daylight Time)
- Subject: Re: bash redirection problem
- References: <web-3593101@oundle.northants.sch.uk>
- Reply-to: Michael A Chase <mchase at ix dot netcom dot com>
On Wed, 19 Jun 2002 11:20:25 +0000 "Newman, Robin" <rbn@oundle.northants.sch.uk> wrote:
> I'm trying to get bash scripts (from the ht//dig multidig
> scripts) to work under cygwin which incorporate commands
> like
> cat /dev/stdin >> somefilename
> They work ok under linux, but cygwin (latest version
> installed yesterday) returns
> cat: /dev/stdin: no such file or directory
> there isn't a /dev directory as in linux
> What is the workaround if any to sort this to allow stdin
> to be redirected to a file?
>From the top of 'info cat':
| `cat': Concatenate and write files
| ==================================
|
| `cat' copies each FILE (`-' means standard input), or standard input
| if none are given, to standard output. Synopsis:
Have you tried 'cat >> somefilename' or 'cat - >> somefilename'?
--
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/