annotate bin/ftoc @ 6628:8fa17e1ae537

<izabera> ` printf \'FNR == 1{ for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] }\' > bin/tac; chmod +x bin/tac
author HackBot
date Sat, 30 Jan 2016 21:25:52 +0000
parents fa46249367dd
children 2fbb38b4f3f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
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
2 $f=0+$ARGV[0]; printf"%.2f°F = %.2f°C",$f,($f-32)*5/9;