Hello Tom, ET here...
I have done some 9846154 incarnations of LFS and I wrote what I call a
"Replication System" that allows me to instantiate, maintain and replicate a
production LFS machine.
I'll be releasing what will be the first real working version to Sourceforge
when I (someday) get the time to finish it...
Your script could be improved by:
a.- Use $variables in stead of <placeholders> and pass parameters to it or:
b.- write a complementary sed script to do the replacements because (ask me
how I know) vim's %s WILL eventually shoot you in the foot.
If you have any question you will get any answer... :)
Enrique
Thomas Sapp writes:
> Hello,
> My name is Tom, I am new to PLUG and am hoping to find time to start
> attending meetings. Until then I hope to find some interesting
> discussions here on this mailing list.
>
> I've recently been playing around with creating a working LFS system and
> have been having lots of fun at learning about all that goes in to putting
> a working Linux system together. Now that I am almost done with the BLFS
> book, I was wondering if I might get some critique on my first, what I
> would consider, real shell script. I wrote it while going through the
> process of downloading and compiling the various packages I wanted/needed
> on my system. I basically downloads the needed archives, extracts them,
> runs the commands provided, and then removes the extracted directory and
> downloaded archive from the system. I added a some easily replaceable
> placeholders that I can us the %s option in vim on. So far it has worked
> fairly well for me. The code for it can be found at
> http://pastebin.com/ESjVCmTF.
>
> I am looking forward to hearing any advice regarding this and also
> participating in this mailing list in the future.
>
> --
> Thanks,
> Thomas Sapp
> http://www.sappsworld.com
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss