[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: AW: AW: Re: Properties and svn:ignore

From: Kurt Pruenner <leak_at_gmx.at>
Date: Fri, 11 Nov 2011 15:02:58 +0100

On 11.11.2011 09:11, Markus Schaber wrote:
> Von: Gerald Britton [mailto:gerald.britton_at_gmail.com]
> > jerryb1_at_ubuntu:/tmp$ cat > \ foo
>
> Are you sure you're creating a file with an empty name? And not a
> file with a blank or a newline as name?
>
> On my zsh, using a "\" alone as file name creates a syntax error:
> parse error near '\n'.
>
> And using "\ " does not create a file with an empty name, but with a
> space as a file name.

With most shells, you want to hit Ctrl+V followed by return to use the
newline character as a file name:

echo x > [Ctrl+V][Enter]

does work.

To append a space character at the end of a file, you can either put the
filename in quotes or add "\ " (a backslash followed by a space) at the
end...

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
np: OSC - Tundra V (Tundra I-VII)
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2877244
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-11 15:03:10 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.