1. Re: regexps & linux re. stuff
- Posted by Buddy Hyllberg <budmeister1 at JUNO.COM> Jul 05, 1998
- 416 views
[Andy Kurnia <akur at DELOS.COM>] [Subject: regexps] >has anyone made a .e doing regular expression matching, >substituting, and translating, just like they're done by grep or >sed (and thus perl)? wow! a reply ;) I'm not exactly sure you want to use them in Euphoria. In Perl, regexps are usually used for substitution, matching or comparison: # changes $var to lowercase $var = 'Hi there'; $var =~ tr/A-Z/a-z/; # checks for answer yes (or similar) $var = 'yes'; print "Good job" if $var =~ m/yes/; what exactly did you want to use them for? same thing maybe... ;) [Monty King <boot_me at GEOCITIES.COM>] [Subject: linux re. stuff] >I need to specify some drivers or somthing for my system, and >can't get my CD to work. Is there a config program for this? in order to add or remove device drivers, you must *rebuild* the kernel :P I think there's a script that presents you with options to put in your kernel, then builds it. After it's built you have to reinstall it & boot the new kernel. Here's some links that might help you: http://math-www.uni-paderborn.de/~axel/config_help.html http://www.math.psu.edu/ward/ http://blah.math.tu-graz.ac.at/~bri/ You might try doing a websearch for "Linux Kernel HOWTO"; this is the online version of the kernel howto (includes instructions for everything). ----->Buddy budmeister1 at juno.com _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]