P
Phil Healey
Here goes: I looked all over the place, and I think I'm still too far
down on the "steep part of the learning curve" to figure this out.
When writing perl scripts, I touch the filename and then chmod a+x it so
that it is executable with './'. Then I edit the new file. What I
normally do is something like this:
touch file.pl; chmod a+x file.pl; vim file.pl
What I want to do is add an alias to my .bashrc file so I can enter one
command to take care of the above.
alias touchpl [filename] = 'touch [filename]; chmod a+x [filename]; vim
[filename]'
is what I want to be able to do, but I don't know how to get it to
incorporate whatever filename I use.
Any ideas?
down on the "steep part of the learning curve" to figure this out.
When writing perl scripts, I touch the filename and then chmod a+x it so
that it is executable with './'. Then I edit the new file. What I
normally do is something like this:
touch file.pl; chmod a+x file.pl; vim file.pl
What I want to do is add an alias to my .bashrc file so I can enter one
command to take care of the above.
alias touchpl [filename] = 'touch [filename]; chmod a+x [filename]; vim
[filename]'
is what I want to be able to do, but I don't know how to get it to
incorporate whatever filename I use.
Any ideas?