2011-08-02, 17:05(+04), Dmitry Bolshakov:
[...]
> perl has "-x" switch which makes it skip leading file contents until the
> #!/bin/perl
> line
>
> imho it would be good to have the same feature in bash

What about:

#! /bin/bash -
:||:<<\#__END__

whatever you like here

#__END__

your script starts here

-- 
Stephane

Reply via email to