From: "Håkon Hallingstad" <hakon@ion.no>
To: Linux C Programming <linux-c-programming@vger.kernel.org>
Subject: Re: View hidden characters in a textfile
Date: Mon, 27 Jun 2005 22:19:23 +0200 [thread overview]
Message-ID: <20050627201923.GA15257@hydrogen.ion.no> (raw)
In-Reply-To: <1492.196.40.85.4.1119901509.squirrel@www.crearium.com>
On Mon, Jun 27, 2005 at 12:45:09PM -0700, fabio@crearium.com wrote:
> Hello,
>
> Anyone know a tool (or c code) that allow a programmer to see hidden
> characters like "\n" or "\t" or "\r\n" ?
>
> The command cat, tr or sed can help manipulate this character to make them
> visible but I wonder if there is a tool like a hex editor or something
> that detailed show each character that a file contain.
hexl-mode in Emacs. It shows (e.g.) a newline '\n' as '0x0a'.
Regards,
Håkon Hallingstad
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-06-27 20:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 19:45 View hidden characters in a textfile fabio
2005-06-27 20:19 ` Håkon Hallingstad [this message]
2005-06-27 20:39 ` Luiz Fernando Capitulino
2005-06-28 8:16 ` J.
2005-06-29 5:03 ` Jeff Woods
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050627201923.GA15257@hydrogen.ion.no \
--to=hakon@ion.no \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).