Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Request help -- odd sprintf, fprintf issue |
| Date | 2016-08-30 10:56 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87a8fuy3yw.fsf@bsb.me.uk> (permalink) |
| References | <e9765d0c-e510-41ee-9b72-02a85734d45d@googlegroups.com> <ln1t17cwp8.fsf@kst-u.example.com> <slrn3vfsns94hc.iik.ike@iceland.freeshell.org> <lntwe3b6va.fsf@kst-u.example.com> |
Keith Thompson <kst-u@mib.org> writes: > Ike Naar <ike@iceland.freeshell.org> writes: >> On 2016-08-29, Keith Thompson <kst-u@mib.org> wrote: >>> View the output file with some tool that shows its contents >>> unambiguously, such as `cat -A` or `od -c`. >> >> I've noticed that not all versions of 'cat' endorse the '-A' option, >> for a 'cat' that doesn't, try 'cat -vet'. > > Quite right. I think `cat -A` is a GNU coreutils feature, so it will be > available on most Linux-based systems. I think the BSD-based `cat` on > Mac OSX doesn't support it. > > `hd` or `hexdump` might also be a good choice (if available). Or "sed -ne l" which is in POSIX (you can write "sed -nel" if that's easier to remember). -- Ben.
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Request help -- odd sprintf, fprintf issue dakupoto@gmail.com - 2016-08-28 23:58 -0700
Re: Request help -- odd sprintf, fprintf issue gazelle@shell.xmission.com (Kenny McCormack) - 2016-08-29 08:09 +0000
Re: Request help -- odd sprintf, fprintf issue Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-29 10:30 +0100
Re: Request help -- odd sprintf, fprintf issue BartC <bc@freeuk.com> - 2016-08-29 10:48 +0100
Re: Request help -- odd sprintf, fprintf issue Brett Dong <brett.browning.dong@gmail.com> - 2016-08-29 18:15 +0800
Re: Request help -- odd sprintf, fprintf issue Dutch Ingraham <spikeheron@att.net> - 2016-08-29 08:21 -0500
Re: Request help -- odd sprintf, fprintf issue Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-08-29 09:10 -0600
Re: Request help -- odd sprintf, fprintf issue Keith Thompson <kst-u@mib.org> - 2016-08-29 10:27 -0700
Re: Request help -- odd sprintf, fprintf issue Ike Naar <ike@iceland.freeshell.org> - 2016-08-29 19:51 +0000
Re: Request help -- odd sprintf, fprintf issue Keith Thompson <kst-u@mib.org> - 2016-08-29 14:30 -0700
Re: Request help -- odd sprintf, fprintf issue Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-30 10:56 +0100
csiph-web