Deutsch English Français Italiano |
<eli$2411121509@qaz.wtf> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail From: Eli the Bearded <*@eli.users.panix.com> Newsgroups: comp.os.linux.misc Subject: Re: The joy of octal Date: Tue, 12 Nov 2024 20:09:49 -0000 (UTC) Organization: Some absurd concept Message-ID: <eli$2411121509@qaz.wtf> References: <vgns2a$3qlhq$2@dont-email.me> <20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me> <XeFYO.1257$JOzd.276@fx10.iad> Injection-Date: Tue, 12 Nov 2024 20:09:49 -0000 (UTC) Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5"; logging-data="15743"; mail-complaints-to="abuse@panix.com" User-Agent: Vectrex rn 2.1 (beta) X-Liz: It's actually happened, the entire Internet is a massive game of Redcode X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix X-US-Congress: Moronic Fucks. X-Attribution: EtB XFrom: is a real address Encrypted: double rot-13 Bytes: 1456 Lines: 13 In comp.os.linux.misc, Louis Krupp <lkrupp@invalid.pssw.com.invalid> wrote: > This is crude, but it seems to work for the post you're replying to, > with big-endian two-byte integers: [snip C code with Unicode whitespace] > To read a sequence of two-byte octal little-endian integers, swap w.c[1] > and w.c[0]. Or you could just pipe the output through `dd conv=swab`. Elijah ------ whose c compiler doesn't like non-ASCII whitespace