[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] file name with backslash is not archived
From: |
Hugo Mildenberger |
Subject: |
Re: [Bug-tar] file name with backslash is not archived |
Date: |
Mon, 1 Nov 2010 21:08:48 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34-hardened-r1; KDE/4.4.5; i686; ; ) |
Obviously, the problem is caused by '\n'. On dinar's disk, the filename
probably doesn't contain a true linefeed, but a backslash followed by 'n'. To
be interpreted literally in C, a backslash must be escaped like this: "\\n".
Am Sonntag 31 Oktober 2010, 07:27:49 schrieb Динар:
> i attach tr2.txt
>
> command and output was :
>
> address@hidden:~$ strace -o tr2 ./a.out
> /home/dinar/Документы/SED: How can I replace a newline (
> )? - Stack Overflow.html: No such file or directory
> address@hidden:~$
>
>
> and here is in tr2.txt :
>
> lstat64("/home/dinar/\320\224\320\276\320\272\321\203\320\274\320\265
> \320\275\321\202\321\213/SED: How can I replace a newline (\n)? - Stack
> Overflow.html", 0xbf98af44) = -1 ENOENT (No such file or directory)
>
- Re: [Bug-tar] file name with backslash is not archived, (continued)
- Re: [Bug-tar] file name with backslash is not archived, Sergey Poznyakoff, 2010/11/02
- Re: [Bug-tar] file name with backslash is not archived, Paul Eggert, 2010/11/02
- Re: [Bug-tar] file name with backslash is not archived, Hugo Mildenberger, 2010/11/03
- Re: [Bug-tar] file name with backslash is not archived, Динар, 2010/11/03
- Re: [Bug-tar] file name with backslash is not archived, Joerg Schilling, 2010/11/03
- Re: [Bug-tar] file name with backslash is not archived, Paul Eggert, 2010/11/03
- Re: [Bug-tar] file name with backslash is not archived, Динар, 2010/11/02
Re: [Bug-tar] file name with backslash is not archived,
Hugo Mildenberger <=