Mercurial > repo
annotate bin/ftoc @ 11952:bf859c78a439 draft
<kmc> addquote <ais523> (one nice thing about asking in #esoteric rather than #perl is that you don\'t have to attempt to justify what you\'re doing)
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 22 Sep 2019 02:09:55 +0000 |
parents | 2fbb38b4f3f4 |
children |
rev | line source |
---|---|
5192
fa46249367dd
<b_jonas> >bin/ftoc echo $\'#!/usr/bin/perl\\n$f=0+$ARGV[0]; printf"%.2f\xc2\xb0F = %.2f\xc2\xb0C",$f,($f-32)*5/9;\'
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/perl |
11694
2fbb38b4f3f4
<wob_jonas> `` sed -i \'s/",/\\\\n",/\' bin/ftoc
HackEso <hackeso@esolangs.org>
parents:
5192
diff
changeset
|
2 $f=0+$ARGV[0]; printf"%.2f°F = %.2f°C\n",$f,($f-32)*5/9; |