annotate 71ab5gx8 @ 7759:b4341511eb47

<fizzie> ` echo -e \'#! /bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" && "$f" == *\\\\ * ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author HackBot
date Wed, 04 May 2016 21:35:48 +0000
parents b81e1c7ba347
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7576
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
1 #include <stdio.h>
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
2 int main(){int i=100;while(--i){printf("%i bottle%s of beer in the wall,\n%i bo"
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
3 "ttle%s of beer.\nTake one down, pass it round,\n""%s%s\n\n",i,i?"s":"",i,i?"s":
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
4 "",(i-1)?(char[]){(((i-1)/10)?((i-1)/10+'0'):((i-1)%10+'0')),(((i-1)/10)?((i-1)%
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
5 10+'0'):' '),(((i-1)/10)?' ':'{TEXT}'),'{TEXT}'}:"",(i-1)?"bottles of beer in the wall":
b81e1c7ba347 <Moon_> fetch http://pastebin.com/raw/71ab5gx8
HackBot
parents:
diff changeset
6 "No more beers");}}