/bin/sh vi-mode command line editing pathname expansion
Nathan Weeks
weeks at iastate.edu
Fri Apr 2 14:52:46 UTC 2010
The following vi-mode command line editing features seem to be
missing from FreeBSD 8.0's /bin/sh.
=
Display the possible shell word expansions (see wordexp )
of the bigword at the current command line position...
\
Perform pathname expansion (see Pathname Expansion )
on the current bigword, up to the largest set of characters
that can be matched uniquely...
*
Perform pathname expansion on the current bigword and
insert all expansions into the command to replace the current
bigword, with each expansion separated by a single <space>...
Full descriptions are here:
http://www.opengroup.org/onlinepubs/9699919799/utilities/sh.html
This would be handy to have out-of-the-box so one doesn't have
to install bash or ksh to have a POSIX shell that can do this kind
of pathname expansion in an interactive shell.
--
Nathan Weeks
More information about the freebsd-standards
mailing list