BSD seq(1) 在 Linux 上

3 分•作者: 1vuio0pswjnm7•2 个月前
```bash tnftp -4o /dev/stdout \ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/usr.bin/seq/seq.c \ |sed ' /ifndef lint/,/endif not lint/d; /cdefs/d;/inttypes/d; s/getprogname()/"seq"/ ' \ |cc -static -s -xc /dev/stdin -o seq ```
查看原文
.<p><pre><code> tnftp -4o &#x2F;dev&#x2F;stdout \ ftp:&#x2F;&#x2F;ftp.netbsd.org&#x2F;pub&#x2F;NetBSD&#x2F;NetBSD-current&#x2F;src&#x2F;usr.bin&#x2F;seq&#x2F;seq.c \ |sed &#x27; &#x2F;ifndef lint&#x2F;,&#x2F;endif .. not lint&#x2F;d; &#x2F;cdefs&#x2F;d;&#x2F;inttypes&#x2F;d; s&#x2F;getprogname()&#x2F;\&quot;seq\&quot;&#x2F; &#x27; \ |cc -static -s -xc &#x2F;dev&#x2F;stdin -o seq</code></pre>