[mdlug] UNIX tips: Learn 10 good UNIX usage habits

Aaron Kulkis akulkis3 at hotpop.com
Tue Mar 11 00:58:04 EDT 2008


Scott Webster Wood wrote:
> And learning to use awk/sed well is silly when there's perl.
> 

That depends.

akulkis at kulkix:~> ls -al /usr/bin/perl /bin/{gawk,sed}
-rwxr-xr-x 1 root root  242592 2006-05-02 04:19 /bin/gawk
-rwxr-xr-x 1 root root   40932 2006-04-22 21:49 /bin/sed
-rwxr-xr-x 3 root root 1160484 2006-04-22 20:38 /usr/bin/perl

George Goble used to refer to people who had really
long .cshrc, .login, or .profile files as users with
their own /vm{$USERNAME}.

(where {$USERNAME} is substituted appropriately).

On a relatively fast machine, I had a 30 line .cshrc,
which he always referred to as /vmkulkis.



[For those who don't get it... "vm" is the traditional
prefix for all Unix kernels which support virtual memory...
this goes back to at least /vmunix on 4.1 BSD, and probably
even earlier (since Unix was ported to the IBM 370 before
it as ported to the VAX-11].

> SW
> 
> ----- Original Message ----
> From: Aaron Kulkis <akulkis3 at hotpop.com>
> To: MDLUG's Main discussion list <mdlug at mdlug.org>
> 
> And there's not always an advantage to writing in C.
> For one, you have to debug whatever you're doing, whereas
> the building blocks of a shell-script consist of
> well-debugged code.
> 
> Replicating an AWK or SED expression in C is not always
> a trivial matter.
> 






More information about the mdlug mailing list