On Wed, Mar 13 2019, 積丹尼 Dan Jacobson wrote:
>
> OK, maybe even less,
> $ file /usr/bin/*|grep -c shell\ script
> 194
> $ ls /usr/bin/*.sh
> /usr/bin/gettext.sh
This only means that a very tiny fraction of shell scripts *inside*
/usr/bin have .sh extension. Anyhow, thanks for the clarification.
> "GFTG" == Gabriel F T Gomes writes:
GFTG> You could be right (specially since bash completes any filename),
GFTG> however, where did you get this statistic from?
OK, maybe even less,
$ file /usr/bin/*|grep -c shell\ script
194
$ ls /usr/bin/*.sh
/usr/bin/gettext.sh
But that's just my
On Sun, Jan 20 2019, 積丹尼 Dan Jacobson wrote:
> Package: bash-completion
> Version: 1:2.8-5
> Severity: wishlist
> File: /usr/share/bash-completion/completions/sh
>
> I think 90% of shell scripts don't have a .sh extension.
> Therefore
> $ sh anyf
> should still complete to
> $ sh anyfile
You
Package: bash-completion
Version: 1:2.8-5
Severity: wishlist
File: /usr/share/bash-completion/completions/sh
I think 90% of shell scripts don't have a .sh extension.
Therefore
$ sh anyf
should still complete to
$ sh anyfile
Thanks.
4 matches
Mail list logo