aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/command_execution.bash')
-rw-r--r--scripts/command_execution.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/command_execution.bash b/scripts/command_execution.bash
index e400409..06d6676 100644
--- a/scripts/command_execution.bash
+++ b/scripts/command_execution.bash
@@ -79,3 +79,8 @@ echo \`\(\)\$\>\<\`
export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
> /dev/null
(( i=1, j=2)) && echo $i $j
+a="ab cd ef"
+variable=a
+echo "${!variable// /_}"
+echo "${!#// /_}"
+echo "${!1// /_}"