Yassine Ilmi
|
9317cd5459
|
Fix bash history expansion and scrypt args order
On a freshly installed and update 4.0 GA, I tried to follow this procedure and ran into 2 issues:
- bash history expansion breaking the `echo "backup-header!$backup_pass"` because `!` and the following `$` is interpreted
- scrypt command was complaining about the first parameter being restricted to `dec` or `enc`, moved `-P` switch to 2nd position
References:
- https://www.gnu.org/software/bash/manual/html_node/History-Interaction.html
- https://www.gnu.org/software/bash/manual/html_node/Event-Designators.html#Event-Designators
- https://sanctum.geek.nz/arabesque/bash-history-expansion/
|
2018-05-06 12:20:14 +01:00 |
|