Load prefs.
Load prefs.
Load prefs.
And a couple more interjections. I think whenever someone tries to argue with the copypasta, I'll just put them into the interjection list. _______ ________________ / _/ _ \/ _/ __/_ __/ / _/ // // // // _/ / / / /__ /___/____/___/_/ /_/ /____/
ChangeLog
ChangeLog embedded.
And also it has to get in the mkfile, obviously.
Fix prefs and care types.
Comment fix.
Fix the login flow.
Let's ruin our lives.
| This works as-is on both Linux and Plan 9. I wrote it mainly to have something interesting to put on the screen for the | |
| screenshots I added for the RISC-V Slackware image for the DevTerm ( https://stream.debu.gs/?id=1077 ). | |
| The sed is kind of ugly but one instruction per line simplifies the awk. The `-E` has to be removed for this code to run | |
| on Plan 9. The other change needed to run it on Plan 9 is you'd have to change /dev/fd/0 to just /fd/0. | |
| `,` is unimplemented. Since we're reading the program from stdin, we can't read other input. This could be fixed by | |
| generating a program and redirecting it to a file, or using a different fd, but that wouldn't be as funny and it is a | |
| huge pain to do the latter approach in a Bourne-alike. | |
| (Minor update; the line-wrapping broke the code generator. I have altered it.) |
| echo '++++[->++++<]>[-<+++++>>+++++++>++<<]<------.>>+++++.--.+.>.<[-<+>>>+<<]>[--<++>>-<]>---.+++++++++++++.+.<<<.>>>-------.---.<<<--.>.>>+++.-------.++.++[->+<<+>]>++++++.<<.<<.>[-<<->>]<<++++.[>>>--<<<-]>>>+.' | \ | |
| sed -E 's/(.)/\1\n/g' | \ | |
| awk 'BEGIN{print "BEGIN{p=0;"}END{print "}"}/\./{print "printf \"%c\",a[p]"}/\+/{print "a[p]++"}/-/{print "a[p]--"}/</{print "p--"}/>/{print "p++"}/\[/{print "while(a[p]){"}/\]/{print "}"}' | \ | |
| awk -f /dev/fd/0 |
Update build-fluoride.sh because I might only have Linux while on the road.
Make `9 mk linux` work on Linux.