delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Reid Thompson" <RThompso AT ateb DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | cat HelloDate.java >hellodate.java fails with cat HelloDate.java: input file is output file |
Date: | Fri, 26 Jan 2001 14:16:49 -0500 |
Message-ID: | <NDBBIIFIHMHMMKBPAMFECEMJCLAA.RThompso@ateb.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
A question... /home/rthompso/JAVA>cat HelloDate.java >hellodate.java cat: HelloDate.java: input file is output file Is this proper behavior?( I do not believe it is). If not, is this a result of some error in my setup (mount type for /home????) or an underlying OS problem(WIN caseInsensitive)? or...? The archives have minor mention of this in 1998, nothing since. cat.c makes the following validation: if (check_redirection && stat_buf.st_dev == out_dev && stat_buf.st_ino == out_ino && (input_desc != STDIN_FILENO || output_desc != STDOUT_FILENO)) { error (0, 0, _("%s: input file is output file"), infile); exit_status = 1; goto contin; } thanks reid -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |