diff --git a/bash/quine.sh b/bash/quine.sh new file mode 100644 index 0000000..b897294 --- /dev/null +++ b/bash/quine.sh @@ -0,0 +1,10 @@ +u () +{ + type u | { + read; + IFS= read -rd '' func; + printf %s "$func" + }; + printf u +} +u \ No newline at end of file