a simple bashism-powered quine
Saturday, 2. February 2008, 21:30:43
$ /tmp/foo
#!/bin/bash
echo "$(< $0)"
$ cat /tmp/foo
#!/bin/bash
echo "$(< $0)"
Update: just to clarify, this is a joke, not a real quine
A look into a programmer's life
Saturday, 2. February 2008, 21:30:43
$ /tmp/foo
#!/bin/bash
echo "$(< $0)"
$ cat /tmp/foo
#!/bin/bash
echo "$(< $0)"
Holidays holidays holidays"stress"-testing shell interpreters...![]()
The HTTP protocol specs at the World Wide Web Consortium
Make money by placing text links
The world's biggest collection of links that anyone can edit
A GMail Notifier for KDE
Out of the Net, into the Tank
The Free Software Foundation campaign opposing Microsoft Vista adoption and spotlighting free software alternatives
QA overview page for my Debian packages
Some more Debian-specific information about myself
Debian is a free operating system (OS) for your computer.Debian GNU/Linux provides more than a pure OS: it comes with over 18733 packages, precompiled software for easy installation on your machine.
Distributed system for identifying spammers and the spambots they use to scrape addresses from your website.
A very useful guide on packaging libraries for Debian
A list of papers written by people who work at Google
Lots of useful, and interesting, information on C++ programming
Anonymous # 2. February 2008, 22:11
#!/bin/sh
cat $0
Anonymous # 3. February 2008, 09:54
Fail.
Anonymous # 3. February 2008, 10:00
$ cat factorial
#!/bin/sh
echo $(
Anonymous # 3. February 2008, 13:17
$ touch quine
$ chmod a+x quine
$ ./quine
$
You canot get it much shorter, or simpler than that.
Anonymous # 31. May 2008, 17:57
THIS is Bash quine!
$ cat > quine.sh
b=\' c=\\ a='echo b=$c$b c=$c$c a=$b$a$b; echo $a'
echo b=$c$b c=$c$c a=$b$a$b; echo $a
$ chmod +x quine.sh
$ ./quine.sh
b=\' c=\\ a='echo b=$c$b c=$c$c a=$b$a$b; echo $a'
echo b=$c$b c=$c$c a=$b$a$b; echo $a
by Tafuni Vito - Italy - vitotafuni_AT_gmail.com