#qi-hardware IRC log for Saturday, 2016-12-10

--- Sat Dec 10 201600:00
DocScrutinizer05alias man=':(){ [ "sed" == "$1" ]||{ /usr/bin/man $1;return; }; less -f <(/usr/bin/man sed) <(wget http://sed.sourceforge.net/sed1line.txt -q -O -); };:'12:59
DocScrutinizer05I tried shit like ':(){ [ "sed" == "$1" ]||{ /usr/bin/man $1;return; }; less -M -"PmManual page SED(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (q to quit, \:n for even more help on SED)$PM Manual page SED(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (q to quit, \:n for even more help on SED)$" -f  <(/usr/bin/man sed) <(wget -q http://sed.sourceforge.net/sed1line.txt -O - ); };:'  but I can't get the damn 13:00
DocScrutinizer05ticks and quotes and possibly escaping right13:00
DocScrutinizer05anyway also worth sharing: http://stackoverflow.com/questions/22937618/reference-what-does-this-regex-mean/22944075#2294407513:03
DocScrutinizer05AWESOME ;-) http://stackoverflow.com/questions/2795065/how-to-determine-if-a-number-is-a-prime-with-regex13:23
whitequarkwith pcre*13:34
whitequarkthese aren't actually regular, because regular expressions cannot recur13:34
whitequarkpcre arent regex in the strict definition13:34
wpwrakyeah. proper REs can be implemented by an FSM, and FSMs can't find arbitrary prime numbers.13:44
DocScrutinizer05s/man $1/man "$@"/ actually14:00
--- Sun Dec 11 201600:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!