aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/command_execution.bash')
-rw-r--r--scripts/command_execution.bash11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/command_execution.bash b/scripts/command_execution.bash
index 901a9bb..3b275ca 100644
--- a/scripts/command_execution.bash
+++ b/scripts/command_execution.bash
@@ -96,3 +96,14 @@ eval abc+=\( \"\$@\" \)
declare MOZILLA_FIVE_HOME="/usr/share/${PN}"
declare foo=23 empty bar=42
echo $MOZILLA_FIVE_HOME $foo $lol $bar
+
+FILE=scripts/input_output_test
+echo foo > $FILE
+read line < scripts/input_output_test
+echo $line
+if [ 1 = 1 ]; then
+ read line
+ echo $line
+fi < $FILE
+read string <<< "a b c d"
+echo $string