[BUG][REPORT] Possible error in on man 7 glob

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

 



Hello,

the `man 7 glob` states that:

>A range cannot contain an explicit '/' character;
> this would lead to a syntax error.

What I understand from this is that :

> sh$ echo [/-a]
> sh$ echo [a-/]

should be producing syntax errors. However, this is not the case,
as these just print out literally.

> sh$ uname -a
Linux caml 3.19.0-25-generic #26~14.04.1-Ubuntu SMP \
Fri Jul 24 21:16:20 UTC \
2015 x86_64 x86_64 x86_64 GNU/Linux \

This was tested on:

* bash: GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
* tcsh: tcsh 6.19.00 (Astron)
* ksh: sh (AT&T Research) 93u

Sincerely yours,

-- 
Arnaud GAILLARD
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux