Description of problem: The builtin commands fc and jobid return not found when
Version-Release number of selected component (if applicable):
Happens when ash used interactively
Steps to Reproduce:
1.execute ash -i to get an interactive shell
2.execute one or more commands
3.execute fc -l
fc: not found or jobid: not found
history listing or the id of the current job
man page says the commands exist, but they don't appear in builtins.c in the source.
*** Bug 84450 has been marked as a duplicate of this bug. ***
Created attachment 90166 [details]
Manual page patch, eliminating the noted commands.
The patch above fixes the man page, and will go into rawhide as soon as the next
release is complete.
In the meantime, packages including the fix are available from:
Forgot to say "why" the commands aren't available in the first place.
Part of the reason has to do with the root of where ash came from, namely
NetBSD. NetBSD has a library called 'libedit' which the history functions used
in order to edit/change pre-entered commands. This library isn't currently
available on Red Hat Linux.
Also, ash is only really provided as a 'small' shell - a replacement when 'bash'
isn't needed. ash.static is a very good shell for things like rescue disks, as
it can execute fairly complex shell code with minimal space taken up on the
disk: as shipped with RHL 8.0, ash.static is 500kb or so; bash (dynamic!) is
ash-0.3.8-11 should be in rawhide soon. Until such time, you man obtain it from: