anjiro has asked for the wisdom of the Perl Monks concerning the following question:
I want (split parts denoted by []s):Filesystem___________1K-blocks______Used_Available_Use%_Mounted_on
I almost have what I want with split(/(?<=\S)(\s)/); but I get this:[Filesystem][___________1K-blocks][______Used][_Available][_Use%][_Mou +nted][_on]
Any advice?[Filesystem][_][__________1K-blocks][_][_____Used][_][Available][_][Us +e%][_][Mounted][_][on]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Splitting without losing
by graff (Chancellor) on Jan 31, 2003 at 02:36 UTC | |
|
Re: Splitting without losing
by Kanji (Parson) on Jan 31, 2003 at 02:37 UTC | |
|
Re: Splitting without losing
by Paladin (Vicar) on Jan 31, 2003 at 02:33 UTC | |
|
Re: Splitting without losing
by helgi (Hermit) on Jan 31, 2003 at 12:51 UTC | |
|
Re: Splitting without losing
by anjiro (Beadle) on Jan 31, 2003 at 03:47 UTC | |
|
Re: Splitting without losing
by DaveH (Monk) on Feb 01, 2003 at 10:54 UTC |