Public bug reported:

== System information ==

Description:    Ubuntu 16.04.5 LTS
Release:        16.04

file:
  Installed: 1:5.25-2ubuntu1.1
  Candidate: 1:5.25-2ubuntu1.1
  Version table:
 *** 1:5.25-2ubuntu1.1 500
        500 http://mirror.atlantic.net/ubuntu xenial-updates/main amd64 Packages
        500 http://mirror.atlantic.net/ubuntu xenial-security/main amd64 
Packages
        100 /var/lib/dpkg/status
     1:5.25-2ubuntu1 500
        500 http://mirror.atlantic.net/ubuntu xenial/main amd64 Packages


== Expected behavior ==

    $ /usr/bin/file <( echo '#!/bin/sh' )
    /dev/fd/63: POSIX shell script, ASCII text executable

== Actual behavior ==

    $ /usr/bin/file <( echo '#!/bin/sh' )
    /dev/fd/63: broken symbolic link to pipe:[10687339]

Note that Bash process substitution does work properly in general:

    $ /bin/cat <( echo '#!/bin/sh' )
    #!/bin/sh

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: file 1:5.25-2ubuntu1.1
ProcVersionSignature: Ubuntu 4.15.0-30.32~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-30-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 24 18:07:43 2018
Dependencies:
 gcc-6-base 6.0.1-0ubuntu1
 libc6 2.23-0ubuntu10
 libgcc1 1:6.0.1-0ubuntu1
 libmagic1 1:5.25-2ubuntu1.1
 zlib1g 1:1.2.8.dfsg-2ubuntu4.1
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-11-01 (661 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
SourcePackage: file
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: file (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1788958

Title:
  /usr/bin/file fails with Bash process substitution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file/+bug/1788958/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to