Re: Good BSD/Linux Article (somewhat off-topic)
I must say this were some great reading! Now I can give my dear GNU/Linux friends some better understanding why I love my BSD boxes. On Fri, Jan 16, 2004 at 12:15:36AM -0500, Scott W wrote: Hey all, just wanted to share a link to an interesting article comparing/contrasting *BSD (primarily FreeBSD) and Linux, at http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php No affiliation, came across it on one of the bsd news sites...as a long time Linux user/admin/developer(pre-1.0 kernel), but dealing with Solaris and other *nixes pre-Linux, it's interesting to see someone else put to words some comments along the line of some of my 'close, but not quite completely thought out' thoughts, when I've tried to explain to co-workers and friends some of the reasons I've come to be less than thrilled with RedHat, yet really like Gentoo and FreeBSD. Anyways, happy reading... Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl script question.
If this occures more than once on a line we should have the line as this: perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename Notice the added g. :-) On Sat, Jan 10, 2004 at 10:33:08PM +, Matthew Seaman wrote: On Sat, Jan 10, 2004 at 02:10:36PM -0800, Gary Kline wrote: Folks, Let's see if perl can do this one; it's as obscure a task as I've run into. I have scores of files with: A regular sentence, or phrase. then_one_containing_underscores_- between_each_word Followed by another regular, space-delimited sentence. Followed_by_another_string_with_underscaores. Is there a perl way to get rid of the string_containing_underscores and leave the regular sntences?? perl -pi.bak -e 's/\s+\w+_\w+\.?//;' filename Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mass word find/replace
sed(1) should be able do the trick. sed -e /pn_/s//nuke_/g * The above command should replace all pn_ to nuke_ in all files in the directory you run the command. /Björn I am trying to find a way to replace one word in a file with another word, like windows wordpad find/replace. I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: windows killed my boot manager
Actually had the same problem myself last week. The write option _is_ there but it isn't showing. Simply pressing 'w' will ask if you want to write. :-) Best luck, Björn. I needed to reinstall Windows after a FreeBSD 5.x install. I knew that I could reinstall the boot manager from the CD. However, looking at the FAQ http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER to answer my question, the answers don't work for me: - if I try to run bootinst from within XP, it won't let it access the MBR - I don't have a floppy drive. When I go through this process on the CD, there's no (W)rite command in the partition editor (which should actually be called a slice editor, right?) When I exit, it asks if I want to install the boot loader, but it doesn't do it. When I try to commit my changes, it wants new partition label, and asks be what packages to install - If I try to go to the fixit shell, I can't really get a live filesystem. At least, not from the installation CD. I know there's another FreeBSD live CD project out there, but it's based on 4.x, and I'm not sure if the boot loader has changed at all, because I can't find a version history anywhere. So... What's the current (5.x) answer to this dilemma? Thanks, Dan __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]