delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: bash redirection problem |
Date: | Wed, 19 Jun 2002 07:32:37 -0700 |
Lines: | 20 |
Message-ID: | <3D109605.9000008@DeFaria.com> |
References: | <web-3593101 AT oundle DOT northants DOT sch DOT uk> |
NNTP-Posting-Host: | dsl-64-195-250-225.telocity.com |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1024497159 9037 64.195.250.225 (19 Jun 2002 14:32:39 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Wed, 19 Jun 2002 14:32:39 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 |
X-Accept-Language: | en,ru |
Newman, Robin 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 /dev is a psuedo directory. There are elements under it. You just have know they right name! For example, try ls -l /dev/conin or ls -l /dev/clipboard. > What is the workaround if any to sort this to allow stdin to be > redirected to a file? Personally I would simply use "cat >> somefilename". That should work for both Cygwin and Linux. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |