El Jue 08 Feb 2001 18:03, escribiste:
> John Aldrich wrote:
> > Should be fairly simple bash script --
> > tar xzvf <filename.tar.gz>
> > sleep 2
> > ifexist README
> > less README
> >
> > or something like that (pseudocode, as I'm not a programmer! <G>)
> >         John
>
> Thanks John. I'm not a programmer, either. In fact, I'm just trying to
> learn Linux. It seems that one should take Unix classes and programming
> classes to get proficient in Linux, but I'm trying anyway and I still have
> a ways to go to master scripting.
>
> I'll hang on to your post and when I get good enough understand all the
> implications, I'll try to write that script.

#!/bin/bash
tar zcfv $1
$dir=cut -d . -f 1 $1
cd $dir
less README

don't know if it will work, but looks nice. :-)

I hand it out as GPL ;-)

Saludos...:-)

-- 
System Administration: It's a dirty job, 
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués                  email:  [EMAIL PROTECTED]
Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to