Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug in mksh

2 views
Skip to first unread message

Will Renkel

unread,
Nov 8, 2018, 7:55:24 PM11/8/18
to

I have the following line in a shell script.
It works fine in ksh and pdksh

_liner=`echo $string | sed -e 's/ *$//' -e 's/.* //'`

BUT in mksh

ed: -e expression #1, char 4: unknown command:


--
---------------------------------------------------------------
Will Renkel
Wheaton, Ill.

---------------------------------------------------------------
0 new messages