delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/06/07:34:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
MIME-Version: 1.0
Subject: RE: What is this
Date: Mon, 6 Sep 2004 12:33:56 +0100
Message-ID: <B74CF8E243E50A43B2562370EBD9DBEC2C27F5@heis-2000server.heis.co.uk>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Phil Betts" <Phil DOT Betts AT heis DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i86BYSMT014947

>Brian Dessent wrote:

>"Mirko Tebaldi (Indirizzo Pubblico)" wrote:
>> 
>> What is /bin/test.exe ?
>> 
>> i have a script that uses that, but it has not output and no --help
>> or --usage !!!

>Have you considered "man test"?

FWIW, this should always be the FIRST thing one tries (or "info test").

It's a REALLY bad idea to execute a program to try to find out what it
does.  Suppose that "test" was an acronym for "Trash Entire System
Thoroughly", and suppose that it ignored the command line.  Oops!
There goes your C: drive!

The --help options to commands should only be used when you already
know what the command does, but are unsure what parameters it takes.

Here endeth the lesson.

-- 

Phil Betts


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019