Ivan Zakharyaschev 48bd55e50d shell.req: correctly detect #!/bin/env bash (ALT#35376)
The patterns used were OK for the output of "file -NF$'\t'": it would
put a space after the separator (the default separator being ":").
But not for the output of "file -b": we need to pad the result with a
space to use the same patterns.

Putting a space at the beggining is convenient, because it allows to
match independently for "* sh" or "* bash", otherwise "*sh" would
consume "bash", too.

Other uses of "file -b" in scripts/ don't suffer from this problem.
2019-01-31 21:58:32 +03:00
..
2006-05-14 17:05:34 +04:00
2019-01-13 22:39:58 +00:00
2011-09-22 02:58:59 +04:00
2013-01-10 22:38:52 +00:00
2007-03-12 15:06:07 +03:00
2007-03-11 15:00:23 +03:00
2006-01-11 00:39:39 +00:00
2007-03-11 15:00:35 +03:00
2007-03-11 15:00:35 +03:00
2011-09-22 02:58:59 +04:00