You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to quickly test usage with usage bash <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n') and noticed it does not work (maybe because input file type is a pipe).
$ bash <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n')
ok
$ usage bash <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n')
$ echo $?
0
$ ls -l <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n')
lr-x------ 1 powerman powerman 64 ноя 5 09:08 /proc/self/fd/12 -> 'pipe:[29095089]'
$ cat <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n')
#!/bin/bash
#USAGE bin "pipe"
echo ok
$
The text was updated successfully, but these errors were encountered:
I've tried to quickly test usage with
usage bash <(printf '#!/bin/bash\n#USAGE bin "pipe"\necho ok\n')
and noticed it does not work (maybe because input file type is a pipe).The text was updated successfully, but these errors were encountered: