index
:
moreutils
master
implementations of the non-POSIX utilities included in GNU coreutils
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
yes
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'yes')
-rwxr-xr-x
yes
4
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