summaryrefslogtreecommitdiff
path: root/yes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'yes.sh')
-rw-r--r--yes.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/yes.sh b/yes.sh
new file mode 100644
index 0000000..01c755f
--- /dev/null
+++ b/yes.sh
@@ -0,0 +1,4 @@
+ARG=${*-y}
+while true; do
+ printf '%s\n' "${ARG}"
+done