*** Version # 1.18 18-Sep-85 16:48:49 sventek Modified errf, inf, and outf to remove bugs in compound conditionals. The code was written using & and | as if they satisfied the && and || semantics provided by C. Such code has now been broken up into nested if's. *** Version # 1.17 17-Apr-84 17:04:38 sventek Added shift built-in function for use in scripts. Required changes to shdef, hshdef, eshdef, shflag, sh.r`initsh, sh.r`param, sh.r`shcom and sh.r`shellc. An example usage is the following rewrite of the script context.sh param file $1 shift find <$file "%#-h-" "$@" | fb "-s%#-h-" "$@" The first parameter to the script is the archive file name, with all subsequent parameters patterns to look for. The shift invocation causes the existence of the original $1 to be masked, and use of the "$@" construct permits blanks to be embedded in the original pattern. *** Version # 1.16 16-Apr-84 14:32:30 sventek Fixed some bugs in the $* and $@ expansions. Affected modules are shflag, sh.r`initsh and sh.r`param. *** Version # 1.15 21-Mar-84 09:24:29 sventek The shell now permits a "-pprompt string" flag on the command line. This, coupled with the modification to logpmt to permit '!' in the prompt string to be replaced by the line number, permits the user to have prompts which have the line number in the history embedded. *** Version # 1.14 01-Aug-83 09:49:30 tools Restored hshdef to conditionalize the definition of internal commands upon the existence of LARGE_ADDRESS_SPACE. This was changed on RSX when the memory-overlaid version of the history shell was being developed, to the detriment of functionality on non-RSX systems. *** Version # 1.13 16-Jun-83 10:59:46 sventek Replaced runtime calls to `impath' with static declaration of search path using STD_PATH. *** Version # 1.12 15-Jun-83 15:25:22 sventek Removed trailing periods from quoted strings, as they are no longer needed. *** Version # 1.11 13-Jun-83 12:27:49 sventek Converted references to `select' to `switch'. *** Version # 1.10 04-Feb-83 15:09:52 sventek Made appropriate modifications to permit the memory-overlaid version of the history shell (with aliases) to be build for RSX-11M. The modules affected were: 1. hshdef had the conditional on LARGE_ADDRESS_SPACE removed. 2. sh.w`sh.r`dask was modified to call Prompt instead of prompt. This was after much soul searching to determine whether the response to the ask command should be recorded in the history. It was finally decided NOT! 3. hsh.tkb and hsh.odl were added to reflect the current situation. A future update to these files will be necessary to permit these files to be constructed during toolgen from the information contained in the tools.tkb file. *** Version # 1.9 13-Jan-83 14:57:32 sventek Modified routines `shcom', `dask' and `procdf' to reflect the new multi-statement syntax in clauses in the for statement. *** Version # 1.8 16-Dec-82 18:20:19 sventek Modified sh.r`param to conditionally include code to prevent gobbling of the '$' when the token found immediately after the $ is not defined. An expression of the form $ is still replaced by nothing if it is not defined. The code to support this is conditionalized on the symbol KEEP_DOLLARS. A commented define for this symbol was added to sh.r`defns, such that enabling the feature is simple. This is a generalization of a modification made by Dave Martin. This feature has great value on VMS, where many of the system logical names have '$' in them. *** Version # 1.7 24-Nov-82 15:52:54 sventek Added additional support for the following shell commands alias ask param unalias unparam source Also performed quite a bit of general cleanup on the code. Modified documentation to track the source changes. *** Version # 1.6 23-Nov-82 11:14:51 sventek Modified several routines to support the new shell commands param, alias and ask. Added definition file shdef to be used when building sh, and modified hshdef and eshdef to define DO_PARAM to enable these new features. The aliases or parameters are not exported to children, although that is an obvious next step. The files affected are: sh.w`shcmd, sh.w`shflag, sh.w`shdef (new), sh.w`hshdef, sh.w`eshdef, sh.w`sh.r`cmdtyp, sh.w`sh.r`initsh, sh.w`sh.r`shcom and sh.w`sh.r`shellc. *** Version # 1.5 02-Nov-82 13:32:07 sventek Modified sh.w`sh.r`defns to reduce the symbols TREESIZE and MAXTOK if DO_STARTUP is defined. This is to permit hsh to fit on RSX-11M. *** Version # 1.4 01-Nov-82 19:09:40 sventek Made appropriate modifications to convert all occurrences of the string ''' to the string '@''. The previous form is now a syntax error, due to the extension to ratfor to permit "'" to be used as a quoted string delimiter *** Version # 1.3 25-Oct-82 11:39:15 sventek Experienced problems with inheritance of redirection for STDOUT and ERROUT for parenthesized commands. In particular: (first; second) >>file expanded into first >>file second >>>file Also noticed problems with initialization of redirection stuff, such that if a parenthesized command failed in mid-command, the next command could experience incorrect redirection behavior. To fix this, modified the following files: sh.w`stdsub sh.w`sh.r`dosemi sh.w`sh.r`errf sh.w`sh.r`execut sh.w`sh.r`outf *** Version # 1.2 09-Apr-82 10:46:02 j Reordered the statements in sh.w`sh.r`rlogin to conform with normal statement ordering. Moved the string declaration after all other declarations and before the first executable statement. *** Version # 1.1 25-Mar-82 12:13:36 v1.1 Version 1.1 is the Spring 1982 Distribution of the LBL/Hughes release of the Software Tools Virtual Operating System software and documentation.