You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@McDutchie Related to r, here's something odd (this is a freshly started shell):
$ r
r
r
r
r
r
r
-ksh: hist: history: recursion too deep
$
I have no idea what caused it, and I can't make it happen again. it's just weird. The current history...
$ history
564 port contents ctags
565 port info universal-ctags
566 port info ctags
567 sudo port selfupdate
568 port outdated
569 sudo port upgrade -u outdated
570 sudo port upgrade -u outdated
571 cd ksh
572 git log | grep -i alias
573 m NEWS
574 /bin/ksh
575 ver
576 exit
577 unalias r
578 r
579 history
$
I can only reproduce this if I launch the ksh shells from a shell other than ksh, which makes sense, as 'r' needs to be the last command in the history.
I'm going to go with 'not a bug' for this one. You've deliberately created a situation where the r alias recursively invokes r, and ksh happily obliges. It even fails gracefully by detecting excessive recursion instead of crashing. So I don't see a problem here.
@McDutchie Related to
r
, here's something odd (this is a freshly started shell):I have no idea what caused it, and I can't make it happen again. it's just weird. The current history...
Originally posted by @posguy99 in #503 (comment)
The text was updated successfully, but these errors were encountered: