Mercurial > repo
view bin/quotes @ 11135:eaec447b7046
<Jafet> mkx bin/\xe2\x81\x97//cc \'int i,r,n;main(){for(;n<1e5;n++,r*=2){for(i=2;i*i<=n;i++)if(n%i==0&&r--)break;r++;if((r&511)==325)printf("%d,%d,%d,%d%c",n-8,n-6,n-2,n,10);}}\'
author | HackBot |
---|---|
date | Thu, 27 Jul 2017 17:18:27 +0000 |
parents | ad85e082af96 |
children |
line wrap: on
line source
#!/bin/sh allquotes | if [ "$1" ]; then if expr "$1" + 0 >/dev/null 2>&1; then sed "$1q;d" else grep -P -i -- "$1" fi else shuf --random-source=/dev/urandom -n 1; fi