freebsd-skq/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 fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chio chio: avoid out of bounds read 2020-07-26 15:10:33 +00:00
chmod fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
cp cp: fix indentation 2021-01-27 12:18:45 +01:00
csh vfs: add restrictions to read(2) of a directory [1/2] 2020-06-04 18:09:55 +00:00
date date.1: note possibly surprising behaviour of -j -f 2020-08-26 00:31:59 +00:00
dd Add O_DIRECT flag to DD for cache bypass 2020-06-04 20:47:11 +00:00
df Remove the unnecessary space before the colon 2021-01-20 09:46:15 +01:00
domainname
echo Whitespace cleanup 2020-10-29 14:44:09 +00:00
ed ed(1): Add two references in the SEE ALSO section 2021-04-09 09:43:49 +02:00
expr
freebsd-version
getfacl bin/setfacl: Little refactoring, no functional change. 2020-11-23 17:00:06 +00:00
hostname hostname(1): Add EXAMPLES to man page 2020-10-05 13:46:19 +00:00
kenv kenv(1): Add EXAMPLES to man page 2020-10-05 13:49:45 +00:00
kill
ln
ls Simplify LS_COLWIDTHS processing 2020-12-27 22:32:22 +01:00
mkdir
mv
pax
pkill bin/pkill: Fix {pgrep,pkill}-j_test.sh 2021-02-13 13:53:51 +00:00
ps ps(1): Fix formatting of the "command" field for kernel threads. 2020-07-28 15:26:19 +00:00
pwait Fix typo in pwait.c introduced in 5bdce6ff54 2021-01-21 21:43:27 +00:00
pwd pwd(1): Add EXAMPLES section 2020-10-24 16:42:35 +00:00
realpath realpath(1): Add EXAMPLES section. 2020-10-20 13:15:26 +00:00
rm fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
rmail
rmdir
setfacl Remove unused headers. 2020-12-12 02:26:43 +00:00
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 Remove unused includes. 2020-12-22 21:04:36 -08:00
tests
uuidgen
Makefile
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00