delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/02/02:06:42

From: John DOT Cook AT kla-tencor DOT com (Cook, John)
Subject: RE: Backticking in Shell Scripts
2 May 1998 02:06:42 -0700 :
Message-ID: <DD1A417EB683D111828300A024C344636034EC.cygnus.gnu-win32@sjxpr05.kla-tencor.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi, Matt.

I tried what you describe using NT 4, SP 3, and I got the
same output for the command line as for the script file.
My setup differs from yours, however, in that I am using 
cygwin32 b19 (not 19.1) with the cygwinb19.dll from Sergey 
Okhapkin's coolview (perhaps not the latest version; I 
downloaded it on April 10).

I have read numerous recommendations on this list for 
installing coolview over b19{,.1}, so give it a try:

http://www.lexa.ru/sos

--John

> ----------
> From: 	Matthew Donadio[SMTP:m DOT p DOT donadio AT ieee DOT org]
> Sent: 	Friday, May 01, 1998 5:58 AM
> To: 	gnu-win32 AT cygnus DOT com
> Subject: 	Backticking in Shell Scripts
> 
> I just installed cygwin32 19.1, but am having a strange problem.  I'm
> sure I have something set up wrong, but I have absolutely no idea what
> I
> goofed up.
> 
> If I am at a bach prompt, the following will produce the correct
> output:
> 
>         # echo `uname -a`
> 
> But, if I try
> 
>         #!/bin/bash
> 
>         echo `uname -a`
> 
> I get a null string.  If I add -v and -x flags for bash I can see that
> uname is getting executed.
> 
> I looked through the FAQ and the mailing list archives with no luck. 
> Any ideas?  If it makes any difference I am using WinNT 4.0 SP 3.  
> Thanks.
> 
> --Matt Donadio (m DOT p DOT donadio AT ieee DOT org)
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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