Re: problem with backslash in directory name

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

 



Am 07.04.2017 um 08:30 schrieb Jeff King:
I also don't know how some of those loops would cope with
a submodule name that needed quoting).

"git submodule add" worked fine with most of the following names:

    "sub"
    # potentially confusing the shell
    "sub with blanks",
    "sub with\nnewline",
    "sub with'single quote",
    "sub with\"double quote",
    "sub with\\backslash",
    "sub with\bbackspace",
    "sub with\thorizontal tab",
    # potentially confusing git's configuration format
    "sub with #",
    "sub with ="

(That's Python 3 literals in case somebody is wondering. I'm using Python to unit test a shell script, just so I can catch this sort of stuff...)



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]