diff options
author | Anthony Wang | 2021-04-25 16:12:31 -0500 |
---|---|---|
committer | GitHub | 2021-04-25 16:12:31 -0500 |
commit | 304c5e814d263e0029b3fe86902064ca20e079fc (patch) | |
tree | f3f7322e45690b65a3ebaec0e3f545e136d672ef | |
parent | fc4ee12563486f7c8627468d67ac57ac82a7b1a9 (diff) |
Create quine.sh
-rw-r--r-- | quine/quine.sh | 1 |
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 |