query: History substitution fails when implemented in shell script
positive_passages.docid: 100035
positive_passages.text: Is history expansion disabled in scripts?
negative_passages.docid: 152832
negative_passages.text: Variable substitution into a sed script
negative_passages.docid: 4036
negative_passages.text: Variables in bash seq replacement ({1..10})
negative_passages.docid: 43948
negative_passages.text: How can I save a part of command lines into a new file using history command?
negative_passages.docid: 31134
negative_passages.text: Where is bash's history stored?
negative_passages.docid: 34982
negative_passages.text: Is it possible to make writing to .bash_history immediate?
negative_passages.docid: 113295
negative_passages.text: Excluding some of the commands from being getting stored in bash history
negative_passages.docid: 48426
negative_passages.text: zsh history: comment out dangerous commands: `#`
negative_passages.docid: 105096
negative_passages.text: bash history that stores execution time?
negative_passages.docid: 125908
negative_passages.text: multiline command chunks in bash history into multiple lines
negative_passages.docid: 115669
negative_passages.text: Why does process substitution result in a file called /dev/fd/63 which is a pipe?
negative_passages.docid: 68373
negative_passages.text: Shell script runs with bash but not with sh. Why and how to fix it?
negative_passages.docid: 47849
negative_passages.text: Why does shell Command Substitution gobble up a trailing newline char?
negative_passages.docid: 104899
negative_passages.text: Why do newline characters get lost when using command substitution?
negative_passages.docid: 102036
negative_passages.text: Is it possible to save `bc` command line history?
negative_passages.docid: 23506
negative_passages.text: Why doesn't grep using pipe work here?
negative_passages.docid: 60378
negative_passages.text: When $SHELL variable does not change when I switch shell