HDTenEightyP/NetNews huggingface dataset:
From: lwv26@cas.org (Larry W. Virden)
Subject: Re: How to interpret when the end of piece of mail is reached?
Followup-To: comp.unix.shell
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Nedriv Software and Shoe Shiners, Uninc.
Date: Mon, 16 Nov 1992 17:12:20 GMT

In article <GUENTHER.92Nov12192657@amcl5.stolaf.edu> guenther@stolaf.edu (Philip A Guenther) writes:
:In article <1992Nov12.160232.10446@ssd.ukpoit.co.uk> alan@ssd.ukpoit.co.uk (Alan Barclay) writes:
:   In article <1992Nov8.214458.17317@prl.dec.com> boyd@prl.dec.com (Boyd Roberts) writes:
:   >The delimeter is a line that begins with:  From<space>
:   >

:   From Henry the eighth's time onwards, the English Established church,
:   the Church of England, has allowed divorce.
:

:If a non-header line begins with "From " then the mailer prepends a
:">" onto it.  All mail handlers I know do it this way and can handle


Unfortunately, not all mail readers do this.  Sun's OW mailtool , when using
logging, inserts a header containing the number of bytes in the following
msg and then leaves the leading From lines alone.  This plays havok when
one trys to use mailtool within X but is forced to use a text based mailer
outside of X ...

-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
Newsgroups: comp.unix.shell
From: bill@bilver.uucp (Bill Vermillion)
Subject: Re: Last modification time for a directory -- How?
Organization: W. J. Vermillion - Winter Park, FL
Date: Mon, 23 Nov 1992 14:59:57 GMT

In article <1epmvvINN1b1@agate.berkeley.edu> ilan343@violet.berkeley.edu (Geraldo Veiga) writes:
>A question:

>How do I find the last modification time for a directory, meaning what
>was the last modification time for any file under the directory.

The time any file was modified is NOT part of the directory,
and the directory was not modifed.   The only place you will
find any modifications (other than the file itself) are in the
inodes of the associated files.  Unless you rename the file or
mv it, there will be no indication in the directory.

You will have to search for last modification time of the
individual files, find the latest, and then check what
directory they are in.



-- 
Bill Vermillion - bill@bilver.oau.org  bill.vermillion@oau.org
                - bill@bilver.uucp 
                - ..!{peora|tous|tarpit}!bilver!bill

Newsgroups: comp.unix.shell,comp.unix.sysv386
From: janw@fwi.uva.nl (Jan Wortelboer)
Subject: Re: Does *anyone* know of a GOOD shell for Sysv 3.2? (w command line editing)?
Organization: FWI, University of Amsterdam
Date: Mon, 16 Nov 1992 13:01:23 GMT

ian@unipalm.co.uk (Ian Phillipps) writes:

>dlucy@sandr.COM (Doug Lucy) writes:

>>Call me old fashioned, call me a dinosaur; I don't care. I love using
>>vi to edit and ksh give me vi commands for my entire command history
>>on the command line.

>Hi, dinosaur! Or can I call you Bronto? :-)

>I like vi as well, and I use tcsh - just put "bind vi" and all's well.

Vi editing in tcsh, isn't so good as in ksh. 
cw works different from vi in tcsh, work's alright in ksh
. command isn't in tcsh, it is in ksh
and maybe more.....

jan.
-- 
Jan Wortelboer,  University of Amsterdam
                 Computer Science Department  Email: janw@fwi.uva.nl
Unix             Kruislaan 403 Kamer F003     Phone: +31 20 525 7501
systems manager  1098 SJ AMSTERDAM            Fax  : +31 20 525 7490
Newsgroups: comp.unix.shell
From: "liming hsied" <liming.hsied@canrem.com>
Subject: .fingerees
Reply-To: "liming hsied" <liming.hsied@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 22 Nov 92 01:37:56 EST

Hi!

In a recent news posting, you were talking about having a file
named .fingerees that was a list of people that have fingered you.
If it's not to much trouble, may I enquire how this was accomplished?
Is it through a script or is it part of unix in some way? Thanks for you
time.  I'm trying to do something with my plan file at school.  You
may finger me at 91hsiedl@chasm.scar.utoronto.ca  or respond to me there
or here.
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.unix.shell
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Last modification time for a directory -- How?
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Mon, 23 Nov 1992 10:02:17 GMT

In article <1epmvvINN1b1@agate.berkeley.edu>, ilan343@violet.berkeley.edu (Geraldo Veiga) writes:
|> A question:
|> 
|> How do I find the last modification time for a directory, meaning what
|> was the last modification time for any file under the directory.
|> 
|> More specifically, I would like to determine in a shell script, which
|> of 2 directories was modified last.  Just looking at ls output is not
|> enough, since it doesn't reflect the modification tile of file in the
|> directory's down tree.
|> 
|> Any hints on how I do this? 

Use ls -ltA and use the modification time of the first entry.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.shell
Newsgroups: comp.unix.shell
Subject: Re: Find and symbolic links
From: oleg@gd.cs.csufresno.edu
Date: 23 Nov 92 01:03:49 PST
Organization: Computer Science Departement of California State University in Fresno

In article <1epg9qINNfb8@OPAL.SYSTEMSX.CS.YALE.EDU> A. Satish Pai <Pai-Satish@CS.Yale.Edu> writes:
>
>Hi, everybody!
>
>Is there any workaround/trick/hack/shell-script that can be used to use find in
>such a way that it follows symbolic links and descends down them recursively?
>
>I find it annoying that find doesn't follow links. No doubt there are good
>reasons for making it operate that way but at least there should have been an
>option to override that, IMHO. Why do I want to follow links? Out here, the
>"real" directory structure is some hugely complicated thing that only the
>sysadmins worry about; what users normally see (such as /usr/bin, /homes, etc.)
>are almost all links to something else. I really don't want to run find with
>arguments that look like /u6/old/tmp-sys/usr.bin when what I'm thinking of
>is (say) /usr/bin. Naturally, if I just specify the names I want, find will
>skip entire directories because something at the top happens to be a sym link.
>
The problem is that if someone in joe that has his home directory in /u6/home and
does "ln -s pit .., your find will get /u6/home/joe/pit, /u6/home/joe/pit/joe/pit, 
etc. Unfortunately, "recursive" symlinks are sometimes on the system by default:
look at /usr/kvm/sys/sun<smth>/machine on SunOS. 

One workaround is find /usr/bin/. , provided that there are no (interesting)
symbolic links _under_ bin. Otherwize, you can write a shell script that tries to
decend in symbolic links, like:

#!/bin/sh
if [ -d $1/. ]; then
	exec find  $1/. -type s -o -type d -o -name $FINDNAME -exec $0 {} \;
else
	echo $1 # Or whatever you want to do with it.
fi

Apparently there is no way to defeat ln -f foo ..

Oleg



Newsgroups: comp.unix.shell
From: trw@unixland.natick.ma.us (Tim Weil)
Subject: Recursive Tree Copy (with filter)?
Organization: Unixland Public Access Unix  (508) 655-3848
X-Newsreader: Tin 1.1 PL3
Date: Thu, 19 Nov 1992 21:16:33 GMT
From: gerald@torolab4.vnet.ibm.com (Gerald Oskoboiny)
Newsgroups: comp.unix.shell
Subject: Re: How to clear screen in sh ?
Date: 18 Nov 92 19:58:50 GMT
Reply-To: gerald@torolab4.vnet.ibm.com
Distribution: usa
Organization: IBM Canada Ltd.
Originator: gerald@gerald

menjan@cs.umb.edu (Men-Jan Lin) writes:

>echo '^L' does not work perfectly for me.

Try "tput clear". (May be AIX-specific, I'm not sure).

Gerald
Newsgroups: comp.unix.shell
Subject: Re: Recursive Tree Copy (with filter)?
From: oleg@gd.cs.csufresno.edu
Date: 23 Nov 92 00:38:14 PST
Organization: Computer Science Departement of California State University in Fresno

In article <pershing.722372799@teal> pershing@teal.csn.org (Paul Pershing) writes:
>Speaking of "recursive."
>
>In zsh 2.1, after defining several functions and aliases that are provided
>with the sources, I had three processes suspended and couldn't kill them.
>each time I issued a command, either,
>
Current version is zsh 2.3beta, you may want to check if it solves the
problem. 

>kill %1
>kill %2
>Kill -9 %1
>and so on,

Is there an alias for kill? jobs -l ; /bin/kill -9 pid pid ... should work
anyway.

>
>I got this error message:
>
>"zsh: job table full or recursion limit exceeded"
>
>The only time I'd seen that message before is when I tried to use
>a tcsh alias for safe remove in my zsh, i.e.,
>
>alias rm='rm -i'
>
>with this alias defined in zsh, you get the same error as above.
>
I just tried "alias echo=echo foo" and "echo bar" and it gave logical result.
This is with v2.3beta. In earlier versions you can probably get by with 
alias rm="/bin/rm -i".

Oleg
Newsgroups: comp.unix.shell
From: yorton@turtle11.rtsg.mot.com (James J. Yorton)
Subject: Re: pushd, popd, dirs for ksh
Followup-To: comp.unix.shell
Reply-To: yorton@rtsg.mot.com
Organization: Motorola Inc., Cellular Infrastructure Group
Date: Mon, 23 Nov 1992 14:36:04 GMT

In article <1992Nov19.230627.27426@tellab5.tellabs.com>, seong@tellabs.com (Scott Seong) writes:
|> I am a recent switch-over from tcsh to ksh.  Since then, I missed useful
|> csh functions.  The following ksh functions might be used to emulate pushd,
|> popd, and dirs.
|> 

[ function declarations deleted ]

Just a little footnote:  There are also versions of these functions
beginning on page 244 of The KornShell Command and Programming
Language by David Korn and Morris Bolsky.

---
Jim Yorton
Motorola Inc., General Systems Sector
Cellular Infrastructure Group
Arlington Heights, IL
yorton@rtsg.mot.com
(708) 632-6695
From: dansmith@Autodesk.COM (Daniel Smith)
Newsgroups: comp.unix.shell
Subject: Re: echo question
Date: 18 Nov 92 21:37:03 GMT
Organization: Autodesk Inc., Sausalito CA, USA

In <19921117182407SEB1525@MVS.draper.com> SEB1525@MVS.draper.com (Steve Bacher) writes:

> In article <17935@autodesk.COM>,
> dansmith@Autodesk.COM (Daniel Smith) writes:

> >In <19921114163004SEB1525@MVS.draper.com> SEB1525@MVS.draper.com (Steve Bacher) writes:
> >
> >> >        echo 'first:this=that=other+second:this=that=other+' | tr '=+' '\011\012'
> >
> >> Hardcoded octal ascii is "portable"???
> >> Escaping syntax in tr is "portable"???
> >
> >        OK, name an english-language version of Unix this'll bomb on.

> I haven't seen AIX/370, but I'm sure it'll bomb, being EBCDIC.


	Fan IBM :-)  I'm not going to spend my time rewriting a
silly command line for some Boat Anchor I have absolutely no respect for.
I'm concerned with SUN, HP, SGI, DEC, NeXT, Sony, etc.  90% or
better of the people out there reading this can use my original example
just fine.  I have better things to do than worry about EBCDIC :-)

				Daniel
-- 
     Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
	      Disclaimer: written by a highly caffeinated mammal
	    dansmith@autodesk.com            dansmith@well.sf.ca.us
From: ilan343@violet.berkeley.edu (Geraldo Veiga)
Newsgroups: comp.unix.shell
Subject: Last modification time for a directory -- How?
Date: 23 Nov 1992 04:34:07 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: violet.berkeley.edu

A question:

How do I find the last modification time for a directory, meaning what
was the last modification time for any file under the directory.

More specifically, I would like to determine in a shell script, which
of 2 directories was modified last.  Just looking at ls output is not
enough, since it doesn't reflect the modification tile of file in the
directory's down tree.

Any hints on how I do this? 

Thanks in advance.
Newsgroups: comp.unix.shell
From: michael@chpc.utexas.edu (Michael Lemke)
Subject: Re: Does C-shell have subroutine capability
Organization: The University of Texas System - CHPC
Date: Sat, 21 Nov 92 22:17:28 GMT

In article <1992Nov20.184756.9138@informix.com> hartman@informix.com (Robert Hartman) writes:
[...]
>
>After using both shells, I like ksh a little better.  The only gripe
>I have with ksh is that I haven't been able to figure out how to
>list the definition of an individual shell function.  Any tips?
>

If ksh is Bourne shell compatible as claimed on this borad (I don't
have ksh):

set



-- 
Michael Lemke
Astronomy, UT Austin, Texas
(michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
Newsgroups: comp.unix.shell
From: dang@mrcnext.cso.uiuc.edu (Daniel Gentry)
Subject: sh/ksh script to parse UULOG?
Summary: Need code/suggestions on reading UULOG
Organization: University of Illinois at Urbana
Date: Fri, 20 Nov 1992 12:34:03 GMT
Keywords: sh ksh UUCP UULOG

Hello all.

I'm currently working on a project that requires the UULOG to 
be interpreted via Ksh to get start & end transmission times.
This will be done on a SCO UNIX 3.2.2 box with HoneyDanBer UUCP.

Before I get any further, I'd like to see if any of you out there
in the ether have suggestions or code to help me along my path...
Any and all help is appreciated!

Dan Gentry	dang@mrcnext.cso.uiuc.edu



(you were expecting a .sig?)
Organization: Freshman, MCS general, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.unix.shell
Date: Sat, 21 Nov 1992 20:48:14 -0500 
From: "Daniel C. Wang" <dw3u+@andrew.cmu.edu>
Subject: Static Variables


Is there anyway to save the value of a variable in a shell script so
that it behaves like a C static variable.  i.e. each invocation of the
shell script retains the value of the variable.

I've kludge together a method using temp files, but I'm sure there is
a more elegant way to do this.
From: hartman@informix.com (Robert Hartman)
Newsgroups: comp.unix.shell
Subject: Re: Does C-shell have subroutine capability
Date: 20 Nov 92 18:47:56 GMT
Organization: Informix Software, Inc.

In article <1992Nov20.050115.13999@tellab5.tellabs.com> seong@tellabs.com (Scott Seong) writes:
>-- 
>With C-shell, writing a 'subroutine' is impossible. If you are running
>Ultrix 4.2, go with ksh.  It's not that different from csh.

Well, it's not exactly "impossible," but it is a little wierd:


	% alias foo 'source foo'
	% cat > foo
	echo I got sourced in!
	^D
	% foo    
	I got sourced in!

After using both shells, I like ksh a little better.  The only gripe
I have with ksh is that I haven't been able to figure out how to
list the definition of an individual shell function.  Any tips?

-r
From: barnett@grymoire.crd.ge.com (Bruce Barnett)
Newsgroups: comp.unix.shell
Subject: Re: sed question!
Date: 18 Nov 92 14:22:09 GMT
Reply-To: barnett@crdgw1.ge.com
Organization: GE Corp. R & D, Schenectady, NY

In article <1992Nov14.233254@IASTATE.EDU> owang@IASTATE.EDU (Ouhong Wang) writes:
>		 sed -n '/^.\{50\}w/p' FILE

Depends on your version of sed. Not all vendors support the \{ and \}
in sed. Some vendors who use shared libraries have combined all of the
different regex variations into one or two libraries. Your example
works under SunOS, for instance.

Either change vendors. use perl, specify 50 "." characters, or try the GNU
version of sed.
--
Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
Newsgroups: comp.unix.shell
From: hc05@rexago8.uucp (Beirne Konarski)
Subject: Re: How to clear screen in sh ?
Reply-To: beirnek@summitis.COM
Organization: Summit Information Systems
Distribution: usa
Date: Wed, 18 Nov 1992 23:38:19 GMT

menjan@cs.umb.edu (Men-Jan Lin) writes:


>echo '^L' does not work perfectly for me.

>Any good ideas ?
>Thanks.

tput clear
-- 
-------------------------------------------------------------------------------
Beirne Konarski			| Reading maketh a full man, conference a
beirnek@summitis.com 		| ready man, and writing an exact man.
				|	-- Francis Bacon
From: jing@themis.cs.umass.edu (YUFENG JING)
Newsgroups: comp.unix.shell
Subject: Re: How to clear screen in sh ?
Date: 20 Nov 92 19:33:22 GMT
Distribution: usa
Organization: Dept. of Computer Science, University of Massachusetts, Amherst
In-reply-to: menjan@cs.umb.edu's message of 18 Nov 92 02:44:52 GMT


Why don't you try:

	# your shell script
	clear

It works for me.
Newsgroups: comp.unix.shell
From: per@erix.ericsson.se (Per Hedeland)
Subject: Re: Action of `echo */'
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Sat, 21 Nov 1992 11:04:04 GMT

In article <By110F.1s8@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
>per@erix.ericsson.se (Per Hedeland) writes:
>>It's a bug, er... fix introduced in SunOS 4.1.3. It's in the release
>>manual, section 6.6 "POSIX Bugs Fixed", "Kernel":
>
>>1039505 Trailing / in pathname should be ignored.
>
>This is a kernel bug fix, presumably relating to treatment of pathnames
>passed as arguments to system calls.

Yes of course, that's what '"Kernel"' implies...

>  It has nothing to do with the shell.

...but I find this assertion more than a little strange regarding
something that demonstrably changes the behaviour of three different
shells, including the primary interactive one shipped by the vendor...

If you meant to say "It need not affect the shell", that is of course
true, provided that the shell is aware that the kernel lies
behaves this way - as tcsh is, when NAMEI_BUG is defined.

But of course this isn't just about the shell (of which there are many)
or globbing (which is sometimes done by non-shell programs), changes in
the pathname lookup semantics tend to affect quite a few programs.
E.g., does anyone think that

% ls -l .login/
-rw-r--r--  1 per           878 Oct 16  1991 .login/

is correct behaviour? Should all programs be changed to work around
these semantics? Will they ever be? And if so, doesn't that tend to
indicate that the semantics are wrong?

[ Comments about the opinion of POSIX.2 on '*/' deleted ]

>It might be interesting to submit this issue to the IEEE for an official
>POSIX.2 interpretation.  Any volunteers?

I'd much rather see the issue (presumably in POSIX.1) about ignoring
trailing slashes on pathnames that don't refer to directories
"interpreted" - I haven't seen the text, but am told that it is
similar to the one-liner above, i.e. there's no mention of directories
or any other types of files - and preferrably amended to say that this
should only be done for directories (dream on...).

I can always choose my personal shell, and it will not match files with
'*/' regardless of what POSIX.2 says - chosing my personal kernel is not
as easy...

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
...uunet!erix.ericsson.se!per
Newsgroups: comp.unix.shell
From: seong@tellabs.com (Scott Seong)
Subject: pushd, popd, dirs for ksh
Followup-To: seong@tellabs.com
Organization: Tellabs, Lisle,IL
Date: Thu, 19 Nov 1992 23:06:27 GMT

I am a recent switch-over from tcsh to ksh.  Since then, I missed useful
csh functions.  The following ksh functions might be used to emulate pushd,
popd, and dirs.

###
### Built-in csh functions for ksh.
### Written by Scott Seong
###
function dirs {
	DSTK=${DSTK:-'$PWD':}; export DSTK
	if [ "$(whoami)" = "root" ]
	then
                eval echo "${DSTK%:}" |sed 's;:; ;g'
	else
		eval echo "${DSTK%:}" |sed -e "s;$HOME;~;g" -e 's;:; ;g'
	fi
	}

function pushd {
	export DSTK=${DSTK:-'$PWD':}
	case $# in
	(0)	REMD=${DSTK#*:}
		if [ -z "$REMD" ]; then
			echo >&2 "Error: (pushd) No other directory."
			return
		else
			TOPD=${REMD%%:*}
			SAVD=$(pwd)
			cd $TOPD && DSTK='$PWD':$SAVD:${REMD#*:}; export DSTK
			dirs
		fi ;;

	(1)	if [ "$(expr $1 : '\(.\).*')" = "+" ]; then	# pushd +n
			let NUMB=$(expr $1 : '+\(.*\)')
			let ACTL=$(echo $DSTK |/bin/awk -F: '{print NF}')-1
			if (( NUMB == 0 )); then
				echo >&2 "Error: (pushd) $1 does not exist"
				return
			elif (( NUMB >= ACTL )); then
				echo >&2 "Error: (pushd) Directory stack not deep enough"
				return
			else
				SAVD=$(pwd)
				DSTK=$(echo "$SAVD:${DSTK#*:}" |/bin/awk -F: '{
					for (i=1; i<NF; i++)
						stk[i] = $i
					}
					END {
						for (j=INDEX+1; j<i; j++)
							printf ("%s:",stk[j]);
						for (j=1; j<=INDEX; j++)
							printf ("%s:",stk[j]); 
						print
					}' INDEX=$NUMB - )
				cd ${DSTK%%:*} && export DSTK='$PWD':${DSTK#*:}
			fi
		else
			SAVD=$(pwd)
			cd $1 && export DSTK='$PWD':$SAVD:${DSTK#*:}
		fi
		dirs ;;
	(*)	echo >&2 "Usage: popd [New_Dir]" ;;
	esac
	}

function popd {
	DSTK=${DSTK:-'$PWD':}; export DSTK
	let ACTL=$(echo $DSTK |/bin/awk -F: '{print NF}')-1
	if (( ACTL == 1 ))
	then
		echo >&2 "Error: (popd) Directory stack empty."
	else
		DSTK=${DSTK#*:}
		cd ${DSTK%%:*} && export DSTK='$PWD':${DSTK#*:}
		dirs
	fi
	}
-- 
Scott Seong
seong@tellabs.com
From: cudcv@csv.warwick.ac.uk (Rob McMahon)
Newsgroups: comp.unix.shell
Subject: Action of `echo */'
Date: 19 Nov 1992 12:08:51 -0000
Organization: Computing Services, University of Warwick, UK
Distribution: world
NNTP-Posting-Host: sprocket.csv.warwick.ac.uk

SunOS 4.1.3, tcsh 6.02.00, bash 1.12.1.

I was asked how to list just the subdirectories using ls, and said "easy, just
do `ls -d */'".  He was using tcsh, and it didn't work:

cudcv (2525) > \ls -F
xx/  yy*  zz/
cudcv (2526) > \ls -d */
xx/  yy/  zz/
cudcv (2527) > 

"Eek!" thought I, a bug in tcsh!, so just to check I tried csh:

cudcv (2527) > csh -c 'ls -d */'
xx/  zz/
cudcv (2528) > 

Fine.  "Hmm," I continued muttering to myself, "I wonder if bash has this
problem ?":

cudcv (2529) > bash -c 'ls -d */'
xx/  yy/  zz/
cudcv (2530) > 

Yes, it does.  sh ?

cudcv (2530) > sh -c 'ls -d */'
ls: */: No such file or directory
Exit 1
cudcv (2531) > 

Aagh!  Say what ?  I'm sure this used to work, in sh, csh, and tcsh.
Somewhere along the line it's all gone horribly wrong.  What's this crud from
tcsh and bash, and ls for that matter (/bin/ls and GNU ls behave the same).
Why won't /bin/sh expand `*/'.  `*/.' works in all cases of course.

Rob
-- 
UUCP:   ...!mcsun!uknet!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
From: mark@coombs.anu.edu.au (Mark)
Newsgroups: comp.unix.shell
Subject: Re: In need of perl shell
Date: 20 Nov 92 00:58:45 GMT
Organization: Australian National University
NNTP-Posting-Host: 150.203.76.2
Organisation: Wassat?!

00btdoty@leo.bsuvc.bsu.edu writes:

>Hello all....

>I was wondering if anyone would know an ftp site what i could ftp the
>perl shell from?  Our system does not have perl, and i have several
>programs that require perl.  Thanks...

ftp it from coombs.anu.edu.au in /pub/perl/scripts

>E-Mail is fine...

CC'd to him....


README file from /pub/perl on coombs.anu.edu.au[150.203.76.2]

-=-=-=-=-=-=-=-=-=-=-=-
Australian Perl Archive
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-
Please Note  Please restrict ftp times to outside normal business hours for
-=-=-=-=-=-  this site:
                          8:30am -  6:00pm AEDT -- Aussie
                          1:30pm - 11:00am PDT  \
                          3:30pm -  1:00am CDT   >-- USA
                          4:30pm -  2:00am EDT  /
                         10:30pm -  8:00am GMT  -- Europe

This archive is maintained by mark@coombs.anu.edu.au

Scripts are currently obtained from:

archive.cis.ohio-state.edu   /pub/perl
convex.com                   /pub/perl
sra.co.jp                    /pub/lang/perl
comp.lang.perl.

Note: mirror planned for *.uk. Watch this space.

See the file INDEX for a description of each script.
Please deposit any scripts in the 'incoming' directory

Share and enjoy.

Mark.
mark@coombs.anu.edu.au
mark@gnu.ai.mit.edu
markm@rmit.edu.au
Newsgroups: comp.unix.shell
Subject: Korn shell alias-argument processing
From: ccvj@misty.latrobe.edu.au (Vicki Jordan)
Date: Mon, 23 Nov 1992 22:55:10 GMT
Organization: La Trobe University

What is the Korn Shell equivalent of the following csh alias?
alias dir 'ls -l \!* | more'

I can do it using a script:
ls -l $@ | more

but I can't work out how to get the arguments substituted on the ls not
the more from the command line.

Thanks ...

Vicki Jordan
-- 
Vicki Jordan                               ccvj@misty.latrobe.edu.au
Computing Services
La Trobe University 
Bundoora Vic 3083 Australia
Xref: sparky comp.unix.shell:4746 comp.unix.programmer:5308