This is the mail archive of the
mailing list for the Cygwin project.
RE: Lack of characters
- From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 29 May 2003 18:37:25 +0200
- Subject: RE: Lack of characters
In addition to all that has been said.
e.g. 'tar' has it's own sense of valid output. The output of "tar -tf
archive.tar" where the archive contains files with filenames using "accented
characters" will look like:
This can't be used as input to any command I know of. There is a workaround
$ echo -e 'fran\347ais/\n->\\<-backslash-test\nportugu\352s' | cl
$ tar -tf archive.tar | cl
will produce a human readable version of the archive contents.
Just slightly tested script appended below.
Please, *DO* comment - on its robustness in particular.
/Hannu E K Nevalainen, Mariefred, Sweden, 59~14'N, 17~12'E. >17~C avg/d now.
~ <=> degree
-- cl == cleanline --
sed -e 's.\\.\\\\.g' |
while [ ! -z "$n" ]
echo -e "$n"
--END OF MESSAGE--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html