1 2 3 4 5 6 7
#!/bin/sh # IFS controls what $(...) (inline evaluate) would split its captured # string with. the default is \x0a (i.e. newline). IFS="\x0a" export HISTCONTROL="ignoreboth"