gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: ANN: Spaces in filenames


From: Miles Bader
Subject: [Gnu-arch-users] Re: ANN: Spaces in filenames
Date: 30 Oct 2003 11:32:08 +0900

Christian Thäter <address@hidden> writes:
> Thats exactly what i want to prevent. The escapes will be (un)escaped at
> I/O time and vice versa. The inner tla logic never sees escapes!

There are two syntaxes involved: space-separated tables, and escaped
filenames.  Clearly the un-escapifcation can't take place _before_ the
table-splitting, though it could happen at the same time.

In tla, maybe it's easier and cleaner to do both in the same code, I
don't know.

In many other tools (e.g., awk), it's easier to do them in separate
stages.

If '\ ' were used as the syntax for space, then the space-splitting
would have to be aware of escaping, which is very annoying and
inconvenient in tools like awk (and if you separate the
splitting/unescaping layers in tla, would involve adding unnecessary
knowledge of lower layers the splitting code).

Using some other syntax avoids this problem.

-MIles
-- 
Freedom's just another word, for nothing left to lose   --Janis Joplin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]