This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: print.exe
- From: "Reid Thompson" <Reid dot Thompson at ateb dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 1 Jun 2005 14:51:23 -0400
- Subject: RE: print.exe
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....
in pdksh on cgywin
$ print -r $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/