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