What were you trying to do (and why)?
I'm trying to use the rewrite_shebang detected_perl_shebangthe DSL on the xmltoman script (from the xmltoman formula).
What happened (include all command output)?
It does not work because the original shebang has a flag in it (#!/usr/bin/perl -w).
What did you expect to happen?
#!/usr/bin/perl -w to be replaced by #!/usr/bin/env perl (I don't think it's possible to keep the flag though).
What were you trying to do (and why)?
I'm trying to use the
rewrite_shebang detected_perl_shebangthe DSL on thexmltomanscript (from the xmltoman formula).What happened (include all command output)?
It does not work because the original shebang has a flag in it (
#!/usr/bin/perl -w).What did you expect to happen?
#!/usr/bin/perl -wto be replaced by#!/usr/bin/env perl(I don't think it's possible to keep the flag though).