Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <kst-u@mib.org> |
| Newsgroups | comp.lang.c |
| Subject | Re: Request help -- odd sprintf, fprintf issue |
| Date | Mon, 29 Aug 2016 14:30:33 -0700 |
| Organization | None to speak of |
| Lines | 19 |
| Message-ID | <lntwe3b6va.fsf@kst-u.example.com> (permalink) |
| References | <e9765d0c-e510-41ee-9b72-02a85734d45d@googlegroups.com> <ln1t17cwp8.fsf@kst-u.example.com> <slrn3vfsns94hc.iik.ike@iceland.freeshell.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="1903"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19s99hsb7ji0BQcNSglpsb9" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
| Cancel-Lock | sha1:qM71PV6H05JV5vkt4ACgBGK8UEs= sha1:muJgXDv5Jy4eIX/aorowW5boPp8= |
| Xref | csiph.com comp.lang.c:92898 |
Show key headers only | View raw
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).
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next 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