[Gloucs] tar + hidden characters?

Guy Edwards gloucs at mailman.lug.org.uk
Mon Sep 1 21:22:01 2003


On Mon, 2003-09-01 at 01:11, Guy Edwards wrote:
[snip midnight madness]

Fixed. The output of my script left some form of space after the filename, this was visible with

cat -A which shows non-printed (invisible characters)

(~/DWG)> cat -A filelist.1
000-143.dwg$
000-216a.dwg$

(~/DWG)> cat -A filelist
000-143.dwg $
000-216a.dwg $

so I guess tar was looking for 
'000-143.dwg ' which it couldn't find but
'000-143.dwg' did exist.

Kind of massively obvious looking back but never at the time.....

(Thanks to some inspirational questions from Jinxy on ICQ)

Guy