#!/bin/bash file=$1 if [ -e $file ] then vim $file else touch $file echo '#!'`which perl` > $file echo '' >> $file echo 'use strict;' >> $file echo 'use warnings;' >> $file echo '' >> $file chmod +x $file vim $file fi
In reply to Re: perl file permissions
by sh1tn
in thread perl file permissions
by BadMagic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |