PDA

View Full Version : Misc question - LPI


victorbrca
December 9th, 2007, 08:49 PM
Hi all,

Question from my LPI book. The following commands will replace all 2 empty character spaces for 1, correct (like 'tr -s [:blank:]')?

sed s/ */ /g
or
sed s/ \{2,\}/ /g

Vic.

victorbrca
December 14th, 2007, 11:02 AM
If anyone comes around this, the commands are right. My book had the wrong info.

ksudbury
January 30th, 2008, 01:09 PM
What book is this? And what page?

How are you getting on studying for your LPI?




Regards

victorbrca
January 30th, 2008, 02:35 PM
It's the LPI Linux Certification in a Nutshell, Second Edition (http://www.oreilly.com/catalog/lpicertnut2/?CMP=AK) by O'Reilly.

I have some material here if you want: Link (http://wazem.dyndns.org//temp/study-guides/LPI/)

I kind put a stop on my LPI studdings for now. I gonna invest a little bit in shell scripting.

Vic.