, on 11/16/98
at 05:10 AM, dallasii@kincyb.com said:
>SL> Qnew has a space "prepended" because you have 2 spaces before 'Qnew'.
>The SL> first is discarded. The 2nd becomes part of the argument passed
>to test8. SL> Not what you expected, but that's the way it works. You'll
>notice I tend SL> to be fussy about spaces in my code. There's a reason.
I also forget to mention that the parse work differently for last argument
or in your case the only argument.
parse a b
will strip spaces before setting a, but will strip nothing before setting
b.
>Also, START doesn't seem to like pipes for whatever reasons -
>DETACH seems to handle them more reliably from this environment. On one
I'd suspect timing again. Recall that queued() only says there are no
lines now, not that more will never appear. You need a better way to know
that you have reached the end of input.
>of the exploritory kludges, LineOut seemed to choke outputing a '|'
>character.
Unlikely.
> ....sort of but didn't go into background in Korn shell - hung in
KSH is my preferrred shell under Unix and have I have the OS/2 version,
but have never had the time to install it. The CMD and KSH delimiters and
escape logic are so different, I could easily set confusion setting in.
Were you just testing KSH does it do something special you need?
The KSH/2 I have is a bit old and AFAIK, is no longer maintained. It's
possible you are just running up against defects.
Steven
--
-----------------------------------------------------------
Steven Levine MR2/ICE #10183
-----------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 16 |
November |
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.