summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-25 19:57:43 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-25 19:57:43 +0900
commit447150c5d0995e2be5adbe92bc2e8726743c72d1 (patch)
tree50b9bd34f29902533c35e4571f4fad6fe8d8002d
parented7dc043d625c8f9633cca6997d5532823acb985 (diff)
shellscript: Add readline sample.
-rwxr-xr-xshellscript/readline.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/shellscript/readline.sh b/shellscript/readline.sh
new file mode 100755
index 0000000..111950c
--- /dev/null
+++ b/shellscript/readline.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3while read line
4 do echo "$line"
5done < $1