View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008084 | Kali Linux | General Bug | public | 2022-12-04 10:58 | 2022-12-04 19:36 |
Reporter | m4tt | Assigned To | daniruiz | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Product Version | 2022.3 | ||||
Summary | 0008084: echo command interprets wildcards, when read with the 'cat' command from a file, in a for-loop | ||||
Description | Dear Kali Team, i struggle with a bug in the echo command. The echo command recently started to interpret wildcards, when read from a file, via "cat" in a for loop. Screenshots are attached. Greetings and keep on your good work, | ||||
Steps To Reproduce | As example: echo ==> list current working directory but echo "" >b; for i in same behavior showing other wildcards like '?' Strangely the "while read i; do echo "$i"; done < <textfile_with_wildcard_in> | ||||
Additional Information | Linux m0b1 5.18.0-kali7-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 5.18.16-1kali1 (2022-08-31) x86_64 GNU/Linux PRETTY_NAME="Kali GNU/Linux Rolling" Package: coreutils | ||||
Attached Files | |||||
As Kali is just using the packages from Debian better report it via a bug report mentioned here: |
|
This is not a bug, it's running what you are asking for. In your example
or use $() as it's more readable and more used nowadays |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-04 10:58 | m4tt | New Issue | |
2022-12-04 10:58 | m4tt | File Added: Screenshot from 2022-12-04 11-12-28.png | |
2022-12-04 10:58 | m4tt | File Added: Screenshot from 2022-12-04 11-46-51.png | |
2022-12-04 14:03 | kali-bugreport | Note Added: 0017139 | |
2022-12-04 19:36 | daniruiz | Note Added: 0017140 | |
2022-12-04 19:36 | daniruiz | Assigned To | => daniruiz |
2022-12-04 19:36 | daniruiz | Status | new => closed |
2022-12-04 19:36 | daniruiz | Resolution | open => suspended |