aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-27 16:55:46 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-08-02 15:52:18 +0800
commit9042ed3ac8b75202e71e5de49376e0b1c68e847f (patch)
tree611e5275680a3dd5f61e920d546b72631c6ebc52 /scripts
parentParser: improve exported variable handling (diff)
downloadlibbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.tar.gz
libbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.tar.bz2
libbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.zip
Parser: support empty command with redirection
Now only '>' is supported because there would be a lot of conflicts if we want to fully support this. Also the operator other than '>' doesn't make sense.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command_execution.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/command_execution.bash b/scripts/command_execution.bash
index 05e2177..132d72d 100644
--- a/scripts/command_execution.bash
+++ b/scripts/command_execution.bash
@@ -74,3 +74,4 @@ o Hello\
world
echo \`\(\)\$\>\<\`
export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
+> /dev/null