Рет қаралды 96
0:00 Intro
1:27 parameter@operator
2:33 parameter@Q: quoting a string for shell
3:55 What I used to do
8:22 The new method
11:14 Other things you can do with parameter@operator
11:49 parameter@U, parameter@u, parameter@L: changing capitalization
13:18 parameter@E: interpret backslash escape sequences
15:15 parameter@P: expand as if it were a prompt string
16:59 parameter@A: create an assignment statement (similar to declare -p)
23:52 parameter@K: keys and values, quoted
25:00 parameter@a: parameter attributes
29:02 parameter@k: keys and values, unquoted
30:22 Variable width in printf
39:25 Conclusion
41:26 Outro
Bash Reference Manual: www.gnu.org/software/bash/man...
c - Set variable text column width in printf - Stack Overflow: stackoverflow.com/questions/7...
[Bash scripting #2] Single quotes vs double quotes: • [Bash scripting #2] Si...
[Bash scripting #3] Double quotes vs NO quotes: • [Bash scripting #3] Do...
[Bash scripting #5] A quick introduction to printf (and why you don't want to use echo): • [Bash scripting #5] A ...
[Bash scripting #6] declare -p + pretty-declare-print: a better way to view values of Bash variables: • [Bash scripting #6] de...