4 ms·
x=https://news.ycombinator.com/item?id links -dump $x=37073927|sed -n '6,104{s/.\{8\}//p;}' > 078.l links -dump $x=37073923|sed -n '5,84{s/.\{8\}/
by 1vuio0pswjnm7 3y ago
x=https://news.ycombinator.com/item?id
links -dump $x=37073927|sed -n '6,104{s/.\{8\}//p;}' > 078.l
links -dump $x=37073923|sed -n '5,84{s/.\{8\}//;s/ \*$//p;}' >> 078.l
flex -8Crf 078.l
cc -O3 -std=c89 -W -Wall -pedantic -pipe lex.yy.c -static -o yy078
strip -s yy078
- fragmede 3y agoyou're off by one.
- 1vuio0pswjnm7 3y agoHN caused Kleene star to be escaped. x=https://news.ycombinator.com/item?id links -dump $x=37073927|sed -n '6,104{s/.\{8\}//p;}' > 078.l links -dump $x=37073923|sed -n '5,84{s/.\{8\}//p;}' >> 078.l flex -8Crf 078.l cc -O3 -std=c89 -W -Wall -pedantic -pipe lex.yy.c -static -o yy078 strip -s yy078 Lines in 078.l that must not be indented: 17,18,20,21,42,45,48,58,90,106,123,132,160,161 All other lines must be indented.