[Novalug] Perl "one-liners" (was "Tutorials")
Paul W. Frields
stickster@gmail.com
Mon Dec 18 10:05:30 EST 2006
On Mon, 2006-12-18 at 08:18 -0500, Michael Stone wrote:
> On Sun, Dec 17, 2006 at 10:29:59PM -0500, Nick Danger wrote:
> >So sed/awk DOES have its purposes.
>
> Sounds more like a limitation in kickstart than a reason for awk.
> Probably you're seeing a side effect of rhat's python-mania. I don't use
> redhat myself, so I can't speak to the kickstart issue.
You can set the kickstart post-install interpreter to be any available
binary by declaring that section with "%post --interpreter <cmd>". It
runs in a chroot environment, so /usr/bin/perl would be fine, for
example. Alternately you could write a series of scripts, "curl" them
from a webserver based on some logic, and execute. Possibilities
abound.
--
Paul W. Frields, RHCE http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Project Board: http://fedoraproject.org/wiki/Board
Fedora Docs Project: http://fedoraproject.org/wiki/DocsProject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20061218/ebdd1f9b/attachment.asc>
More information about the Novalug
mailing list