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: fran\347ais/ portugu\352s/ This can't be used as input to any command I know of. There is a workaround though.
$ echo -e 'fran\347ais/\n->\\<-backslash-test\nportugu\352s' | cl français/ ->\<-backslash-test português i.e. $ 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 -- #!/bin/bash sed -e 's.\\.\\\\.g' | ( read n while [ ! -z "$n" ] do echo -e "$n" read n done ) -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/