freebsd-nq/bin
Baptiste Daroussin 988b1bb0c5 sh: implement persistent history storage
Implement persistent history storage:
the strategy is simple at start: loads the existing .sh_history file
at exit dump it.

The implementation respects the HISTFILE variable and its POSIX
definition: ~/.sh_history is used if HISTFILE is not set.

to avoid sh to create the history file, set HISTSIZE to 0 or HISTFILE to
en empty value

Co-authored-by:	pstef
Reviewed by:	jilles
Differential Revision:	https://reviews.freebsd.org/D29493
2021-05-10 18:57:13 +02:00
..
cat cat: style nits 2021-01-20 18:46:26 +01:00
chflags
chio
chmod
cp cp: fix indentation 2021-01-27 12:18:45 +01:00
csh
date
dd
df Remove the unnecessary space before the colon 2021-01-20 09:46:15 +01:00
domainname
echo
ed ed(1): Add two references in the SEE ALSO section 2021-04-09 09:43:49 +02:00
expr
freebsd-version
getfacl
hostname
kenv
kill
ln
ls
mkdir
mv
pax
pkill bin/pkill: Fix {pgrep,pkill}-j_test.sh 2021-02-13 13:53:51 +00:00
ps
pwait Fix typo in pwait.c introduced in 5bdce6ff54 2021-01-21 21:43:27 +00:00
pwd
realpath
rm
rmail
rmdir
setfacl
sh sh: implement persistent history storage 2021-05-10 18:57:13 +02:00
sleep Soften caveat about fractional seconds for sleep(1) 2020-12-31 19:18:20 -08:00
stty Replace sscanf() by strtoul() 2020-12-27 22:32:22 +01:00
sync
test
tests
uuidgen
Makefile
Makefile.inc