From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from techfac.techfak.uni-bielefeld.de ([129.70.1.2]) by archone.tamu.edu with SMTP id <18894>; Wed, 11 Sep 1991 17:11:06 -0000 Received: from dahlie.TechFak.Uni-Bielefeld.DE by techfac.techfak.uni-bielefeld.de (5.65+bind 1.7+ida 1.4.2/tp.29.0890) id AA18585; Wed, 11 Sep 91 19:10:35 +0200 Received: by dahlie.techfak.uni-bielefeld.de (4.1/tp.29.0890) id AA06478; Wed, 11 Sep 91 19:10:34 +0200 Date: Wed, 11 Sep 1991 17:10:34 -0000 From: malte@techfak.uni-bielefeld.de Message-Id: <9109111710.AA06478@dahlie.techfak.uni-bielefeld.de> To: rc@archone.tamu.edu Subject: a word about shift I'd like to raise a discussion about shift's behaviour. There are two things I am not too content with: 1) shift doesn't work on any other variables than * What about an extended shift, say shift var number, or shift number, where the latter assumes * is to be shifted. This preserves compatibility. 2) When $#var is lower than the number of shifts, shift prints an error message and does nothing. I'd prefer shift would optionally a) just print an error message, b) print an error and set var to (), c) be silent and set var to (), d) do nothing What about this? Anyone experienced out there? _______________________________________________________________________________ malte@techfak.uni-bielefeld.de send mail to: Universitaet Bielefeld, Technische Fakultaet z. Hd. Malte Uhl Postfach 8640 4800 Bielefeld 1