FS#75148 - [file] command via pipe bug
Attached to Project:
Arch Linux
Opened by yangling (yangling) - Thursday, 23 June 2022, 05:24 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 16 September 2022, 06:42 GMT
Opened by yangling (yangling) - Thursday, 23 June 2022, 05:24 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 16 September 2022, 06:42 GMT
|
Details
Description:
Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1: cat abc.sh file content yangl@MyTYWorkPC ~ % cat /tmp/abc.sh #!/bin/sh true A1 case: yangl@MyTYWorkPC ~ % ls /tmp/abc.sh|file -f - /: POSIX shell script, ASCII text executable A2 case: yangl@MyTYWorkPC ~ % ls /tmp/abc.sh|xargs file -f #!/bin/sh: cannot open `#!/bin/sh' (No such file or directory) : cannot open `' (No such file or directory) true: cannot open `true' (No such file or directory) A3 case: yangl@MyTYWorkPC ~ % file -f /tmp/abc.sh #!/bin/sh: cannot open `#!/bin/sh' (No such file or directory) : cannot open `' (No such file or directory) true: cannot open `true' (No such file or directory) A1: is error.. package file-5.41-1 output is same A2 and A3 case. but file-5.42-1 is not our expectant。 |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Friday, 16 September 2022, 06:42 GMT
Reason for closing: Fixed
Additional comments about closing: file 5.43-1
Friday, 16 September 2022, 06:42 GMT
Reason for closing: Fixed
Additional comments about closing: file 5.43-1
Comment by loqs (loqs) - Thursday,
23 June 2022, 07:47 GMT
https://bugs.astron.com/view.php?id=358
?