Date: Fri, 2 Apr 2010 08:22:56 -0600 From: Nathan Weeks <weeks@iastate.edu> To: freebsd-standards@freebsd.org Subject: /bin/sh vi-mode command line editing pathname expansion Message-ID: <q2x8f47e3001004020722k91dc69cw5157fb0438e5244c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?q2x8f47e3001004020722k91dc69cw5157fb0438e5244c>
