* An extra patch for trip.rc
@ 1993-05-13 18:07 Tom Culliton x2278
0 siblings, 0 replies; only message in thread
From: Tom Culliton x2278 @ 1993-05-13 18:07 UTC (permalink / raw)
To: rc
Just to make life a bit easier here is the patch to trip.rc which fixes
the "~! should be !~" bug.
Tom
----------8<--------------------CUT HERE--------------------8<----------
*** trip.rc Wed Apr 21 19:10:23 1993
--- trip.rc2 Wed Apr 21 18:29:53 1993
***************
*** 237,243 ****
if (~ `{echo -n} ?)
fail echo -n
! if (~! `` '' {echo --} $nl)
fail echo --
pwd=`/bin/pwd cdpath=/ { # some local assignments
--- 237,243 ----
if (~ `{echo -n} ?)
fail echo -n
! if (!~ `` '' {echo --} $nl)
fail echo --
pwd=`/bin/pwd cdpath=/ { # some local assignments
***************
*** 409,415 ****
echo hi
eof
! prompt=';' if (~! `` '' {. -i /tmp/dot.$pid>[2=1]} ';hi'^$nl';')
fail dot -i
submatch .' '/tmp/dot.$pid hi dot
--- 409,415 ----
echo hi
eof
! prompt=';' if (!~ `` '' {. -i /tmp/dot.$pid>[2=1]} ';hi'^$nl';')
fail dot -i
submatch .' '/tmp/dot.$pid hi dot
***************
*** 457,463 ****
~ $* bar || fail restore of '$*' after local group
~ `{exec>[2=1];$rc -xc 'foo=()'} 'foo=()' || fail -x echo of variable deletion
! fn_ff='{' prompt='' if (~! `` $nl {$rc -cff>[2=1]} 'line 1: '*' error near eof')
fail 'bogus function in environment'
#
--- 457,463 ----
~ $* bar || fail restore of '$*' after local group
~ `{exec>[2=1];$rc -xc 'foo=()'} 'foo=()' || fail -x echo of variable deletion
! fn_ff='{' prompt='' if (!~ `` $nl {$rc -cff>[2=1]} 'line 1: '*' error near eof')
fail 'bogus function in environment'
#
***************
*** 517,523 ****
#
fn prompt {echo hi}
! prompt=() if (~! `{$rc -i /dev/null>[2]/dev/null} hi) fail fn prompt
fn prompt
#
--- 517,523 ----
#
fn prompt {echo hi}
! prompt=() if (!~ `{$rc -i /dev/null>[2]/dev/null} hi) fail fn prompt
fn prompt
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-05-13 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-05-13 18:07 An extra patch for trip.rc Tom Culliton x2278
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).