delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/01/14:52:50

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: print.exe
Date: Wed, 1 Jun 2005 14:52:14 -0400
Message-ID: <F71C0DC6B4FD3648815AAA7F969E3529012F7654@sr002-2kexc.ateb.com>
From: "Reid Thompson" <Reid DOT Thompson AT ateb DOT com>
To: "Dave Korn" <dave DOT korn AT artimi DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j51IqnrM030604

Dave Korn wrote:
> ----Original Message----
>> From: Evert Coetzee
>> Sent: 01 June 2005 19:18
> 
>> I hate to point to the infamous competitor but this script that I
>> have was intended for the use with mks toolkit (which is a
>> not-so-free alternative to cygwin):
>> http://www.mkssoftware.com/docs/man1/print.1.asp 
> 
> [From the above link]
> 
> "print
> 
> display arguments from the KornShell "
> 
> 
>   Ah.  So it's a kornshell[*] builtin command.
> 
>   Then you must be running the wrong shell, mustn't you?
> 
> 
>     cheers,
>       DaveK
> 
> [*]  Before you ask, the answer's "No."
> --
> Can't think of a witty .sigline today....

re previous post, replace print with echo

$ echo  $PATH | tr "[A-Z]" "[a-z]" | tr '\' '/' | sed -e "s+/+#+g" -e
"s+;\.;+;+g"
#home#rthompso#bin:#bin:#usr#lib#subversion#bin:#usr#local#bin:#usr#bin:
#home#rthompso:#bin:#usr#sbin:#usr#local#pgsql#bin:#usr#jikes#bin:#usr:#
c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6#bin:#opt#gnome2#bin:#opt#kd
e3#bin:#home#rthompso#bin:#opt#kde3#bin:#opt#kde3#lib:#opt#qt#3.2#bin:#c
#postgresql#8.0#bin:#c#program files#mozilla
firefox#:%gtk_basepath%#bin:#c#cbuilderx#bin:#c#windows#system32:#c#wind
ows:#c#windows#system32#wbem:#c#ruby#bin:#c#python23:#home#rthompso#bin:
#usr#bin:#c#ant-1.6.1#bin:#c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6#
bin:#c#apachegroup#apache#modules:%maven_home%#bin:#c#vim#vim62#:#c#j2sd
k1.4.2#jre#bin#client:#c#j2sdk1.4.2#jre#bin#server:#c#myprograms#microso
ftvisualc++toolkit2003#bin:#c#ruby#bin:#c#program files#common
files#gtk#2.0#bin:#c#myprograms#subversion#bin:#c#cbuilderx#bin:#c#visua
lgipsy26#bin:#c#multidesk2.1beta#shortcuts:#c#sfu#common:#c#cbuilderx#bi
n:#c#visualgipsy26#bin:#c#multidesk2.1beta#shortcuts:#usr#bin:#c#usr#loc
al#bin:usr#local#lib:#usr#local#pgsql#bin:#usr#local#pgsql#lib:#c#myprog
rams#apachesoftwarefoundation#maven1.0.1#bin:#opt#bin:#c#windows#system3
2

reid

--
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