aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-04-25 16:12:31 -0500
committerGitHub2021-04-25 16:12:31 -0500
commit304c5e814d263e0029b3fe86902064ca20e079fc (patch)
treef3f7322e45690b65a3ebaec0e3f545e136d672ef
parentfc4ee12563486f7c8627468d67ac57ac82a7b1a9 (diff)
Create quine.sh
-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