Generalize usage of shell and tilde expansion..
commitcd87bf4ee99c5499fa9080d4b451293b37f573cd
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Wed, 19 Aug 2015 10:10:38 +0000 (19 12:10 +0200)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 15 Sep 2016 13:54:55 +0000 (15 15:54 +0200)
tree7b8b9fd92d74e27a5a986022b146d9225009742c
parentbb5d0e25f75860d2b5745934edaf792ee7144a07
Generalize usage of shell and tilde expansion..

Make it public, move code from fio.c to auxlily.c for this purpose;
use auxlily.c since that yet has the shell prompt expansion stuff.

This adds the new functions n_shell_expand_tilde() and
n_shell_expand_var().
While here, add support for ~USER syntax to tilde expansion.
accmacvar.c
auxlily.c
cmd3.c
fio.c
nailfuns.h