aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quine/quine.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/quine/quine.sh b/quine/quine.sh
new file mode 100644
index 0000000..e10ce4d
--- /dev/null
+++ b/quine/quine.sh
@@ -0,0 +1 @@
+for f in *;do if [ -f "$f" ]&&[[ -n $(sed -n '/^for f in/p;q' "$f") ]];then cat "$f";fi;done