5 ms·
x=https://news.ycombinator.com/item?id links -dump $x=37060497|sed -n '6,139s/.\{6\}//p' > 076.l links -dump $x=37061215|sed -n '5,99s/.\{6\}//p' >
by 1vuio0pswjnm7 3y ago
x=https://news.ycombinator.com/item?id
links -dump $x=37060497|sed -n '6,139s/.\{6\}//p' > 076.l
links -dump $x=37061215|sed -n '5,99s/.\{6\}//p' > 082.l
links -dump $x=37061227|sed -n '4,148s/.\{6\}//p' >> 082.l
for x in 076 082;do
flex -8Crf $x.l
cc -O3 -std=c89 -W -Wall -pedantic -pipe lex.yy.c -static -o yy$x
strip -s yy$x
done
- fragmede 3y agox=https://news.ycombinator.com/item?id links -dump $x=37060497|sed -n '6,139s/.\{5\}//p' > 076.l links -dump $x=37061215|sed -n '5,99s/.\{5\}//p' > 082.l links -dump $x=37061227|sed -n '4,148s/.\{5\}//p' >> 082.l for x in 076 082;do flex -8Crf $x.l cc -O3 -std=c89 -W -Wall -pedantic -pipe lex.yy.c -static -o yy$x strip -s yy$x done
- 1vuio0pswjnm7 3y agoDoes not work for me. Anyway, it should be clear, hopefully, that indentation must be removed. Same number of spaces from all lines. If using -std=c89, omit the comment at the top beginning with "//", if any.
- fragmede 3y agopoint is, 5 vs 6. I don't know what's different between our two systems but it's not working for me.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]