On Thu, 2002-08-08 at 14:41, Adam J. Melancon wrote:
> I rewrote that script from earlier because I like being able to make my o=
wn=20
> decision as to what the iso's file name is going to be.
>=20
> Pardon the bad formatting of the script, i'm a more of a network/OS guy a=
nd=20
> i'm just diving into scripting. I am enjoying using bash and sed, but wh=
at=20
> i really want to learn is perl, php, and python.
"You don't know the power of the dark side!" Embrace gawk and with it,
you shall rule the galaxy. Deny yourself the primal power of awk and
you'll always wonder what could've been. :-)
Woohoo, I love boredom. :-)
>=20
> Here it is John
> This should work ;)
> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> #!/bin/sh
> # makeiso.sh
> #when it asks you what you want to call the file
> #don't put the .iso on the end, it will do that on it's own
>=20
> question=3D"What do you want the iso to be named:"
>=20
> askme ()
> {
> echo -n $question
> read ANSWER
> }
>=20
> askme
>=20
> echo Creating ISO image called "$ANSWER".iso...
> mkisofs -R -J -l "$1" > "$ANSWER.iso"
>=20
> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>=20
> Adam J. Melancon
>=20
>=20
> _________________________________________________________________
> Join the world=92s largest e-mail service with MSN Hotmail.=20
> http://www.hotmail.com
>=20
>=20
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net