This is a short resume about what I understood about the masterpiece GEB, from Douglas Hofstadter
"How do we get I's from None I's?"
/* | |
NOTE See Below for version 2 (and updates, erratas, fixes, links, and so on) | |
NOTE don't assume or think this is the latest because it's on first on top on the list; it's not. | |
Version 1 'naive approach' (hard coded values, etc) | |
gcc -g -o L1 lin_1.c | |
*/ | |
#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#define RP 1234 |
# From Adam Liss's comment | |
# https://stackoverflow.com/a/9387914/14346786 | |
# Read a file using a bash script | |
i=0;while read l;do ((i=i+1));echo "$i:$l";done < file.txt | |
# alphabet | |
az=$(echo {a..z} | tr -d ' \n\t\v') | |