bug#64326: Some more info about rm bug

2023-06-28 Thread Bernhard Voelker
tag 64326 notabug close 64326 stop On 6/28/23 19:33, Chris Elvidge wrote: > On 28/06/2023 16:41, Arsen Arsenović via GNU coreutils Bug Reports wrote: >> Hi, >> >> LitHack writes: >> >>> Basically what it doing is that it doesn't recognise (-) this as a file >>> name part even when using (\-).

bug#64326: Some more info about rm bug

2023-06-28 Thread Chris Elvidge
Or rm -- -abc The "double-dash" signals "end of options" On 28/06/2023 16:41, Arsen Arsenović via GNU coreutils Bug Reports wrote: Hi, LitHack writes: Basically what it doing is that it doesn't recognise (-) this as a file name part even when using (\-). This bug will work on most of

bug#64326: Some more info about rm bug

2023-06-28 Thread Arsen Arsenović via GNU coreutils Bug Reports
Hi, LitHack writes: > Basically what it doing is that it doesn't recognise (-) this as a file > name part even when using (\-). This bug will work on most of utilities > like cat, cp etc This is simply how argument parsing and shell syntax work. 'rm \-abc' is equivalent to just 'rm -abc',

bug#64326: Some more info about rm bug

2023-06-28 Thread LitHack
Basically what it doing is that it doesn't recognise (-) this as a file name part even when using (\-). This bug will work on most of utilities like cat, cp etc Thanks and regards

bug#64326: Bug in rm command

2023-06-28 Thread LitHack
There is bug in rm command by which we can not delete a special file with dash(-) in front of them. Like rm -file, rm "-file" will not delete the file (-file)