From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <06de01c3aa7e$c3b62040$b9844051@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: Subject: Re: [9fans] v8 shell MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Date: Fri, 14 Nov 2003 08:05:30 +0100 Topicbox-Message-UUID: 89722424-eacc-11e9-9e20-41e7f4b1d025 > The biggest two things that V8 shell has that the v7 shell doesn't > is shell functions and appending command lines to a history file. > I'm sure there were other changes, but these are the one I miss. you forget 'builtin' and 'whatis'. as rob said 'programming the inputs'. so the 8th Ed shell had functions: func() { .... } $0 was the name of the script. $* was the rest of the args to the function. it return 0 or non zero iirc, but my 9th Ed manual is in .au whatis & builtin were _essential_, so you could write a function like cd, so it could use 'builtin' so you could have a function called 'cd' and it would do what you wanted. that sysVile 'type' thing was an abortion. as Yes said: as one with the knowledge and power of the source i was bored and had the source to sVr2 so i coded it up. these links maybe interesting: http://www.std.org/~shand/jjm/mail/compact.html http://www.std.org/~shand/jjm/mail/flint.html # 248 622 -- Susan