Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!orchid!egisin From: egisin@orchid.UUCP Newsgroups: comp.unix.wizards Subject: SysV shell questions Message-ID: <10279@orchid.waterloo.edu> Date: Wed, 19-Aug-87 00:00:46 EDT Article-I.D.: orchid.10279 Posted: Wed Aug 19 00:00:46 1987 Date-Received: Thu, 20-Aug-87 06:47:35 EDT Distribution: comp Organization: U of Waterloo, Ontario Lines: 16 I'm working on enhancing a public domain Bourne shell to be SysV compatible, and have a couple of questions. The SysV built-in echo command recognizes some \ escapes. I don't thing this was a good idea. You can't rely on `echo "$var"' to print an variable whose value contains \'s correctly anymore. Have people had problems with this, and what have you done about it? The author of the PD shell suggested I make functions exportable. It seems this was a design goal for the SysV shell, but was not implemented for some reason. It could have been an implementation problem, or that function definitions in the enviroment break other programs. Has function exportation been implemented in any Bourne-based shell? Does anyone have any suggestions regarding this? Eric Gisin, egisin@waterloo.edu, watmath!egisin