>
>
>-----Original Message-----
>From: Mr. Shawn H. Corey [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 21, 2006 2:29 PM
>To: beginners perl
>Subject: Re: regex one liner
>
>Timothy Johnson wrote:
>> And you can't do this?
>>
>>     alias pcalc='perl ~/pcalc.pl'
>
>No. With alias, I can create an alias file that works with sh (and ksh,
>bash) and csh (and tcsh). This would be dot'ed in your .profile as:
>
>   . ~/.alias
>
>or source'd in your .cshrc as:
>
>   source ~/.alias
>
>If you want the same as a script:
>
>   mv ~/pcalc.pl ~/bin/pcalc
>

It works on my SunOS box using bash.  I can set an alias to the
command-line for launching my script without moving it into any special
directories, and yes, I am much more familiar with Windows than any
flavor of UNIX, so I'm aware that I might not be following best
practices, but that's not the point.  I'm not completely sure you didn't
get my point, however.
  
>BTW, out here in the real world (that would be UNIX), <snip>
>

Beyond being rude and immature, this is off-topic.  Please don't try to
start a "my OS is better than your OS" war.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to