On 8/20/11 11:17 PM, Paul Tibbitts wrote: > This is not a bug in bash itself, but I was wondering if there are any > updates to the ksh-compatibility print function provided with bash in > the source distribution (in the examples/functions/kshenv file), > specifically with regards to ksh-compatible handling of -R. > > Using ksh: > > $ print -R -z > -z > > Using bash 4.2.10 with the kshenv file: > > $ print -R -z > bash: illegal option -- z > > My understanding is that the -R should disable further option > processing except for -n, and display any additional arguments, > including those beginning with "-" > > I have worked around the problem to some extent by modifying the > function, but was wondering if anyone has a more accurate/efficient/ > official/distributed version.
If you have improvements to the function, please send them to me and I will incorporate them into the bash distribution. There's nothing official about those functions; they're just examples. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/