Open nisbet-hubbard opened 1 month ago
According to Chet Ramey, the syntax fg n
is ‘wrong or deprecated. But it's been that way forever.’
This one is probably borderline too -- bash compatibility is generally motivated by making programs run, right now
https://github.com/oils-for-unix/oils/wiki/Shell-Programs-That-Run-Under-OSH
Agreed. %n
is very nice to have on the command line, but I doubt it's ever useful in scripts.
Currently, the
fg %n
syntax has been implemented.Bash has
fg n
(undocumented) and%n
(ie omittingfg
) as shorthands.