Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Prese Question: skipping spaces?

From: tmoeller:fastmail:fm at: 29-Aug-2008 15:10

Hi, your assumption was correct and your suggestion did the job. Thanks a lot! Thorsten On Fri, 29 Aug 2008 15:00:59 +0200, "sqlab" <sqlab-gmx.net> said:
> Hi, > did you try > >a: parse line none > ? > > I am just assuming that the sample down is the result of parse. > If not, just show some examples. > > AR > > Thorsten Moeller wrote: > > Hi, > > > > i want to parse files with lines from an application log. > > > > The files contain lines where the columns are separated by spaces. My > > problem now is that i just wanted to see only specific columns. But, if > > the content of one column is longer, there are less spaces to the next > > column. > > > > When i use >a: parse/all line " "< and get the part a/22 it is not > > necessarily always the 5th column depending on the number of spaces > > between the columns. > > > > Sample: > > > > ["0x0B22E2A0" "0" "" "" "" "" "" "" "" "" "39" "" "" "" "" "" > > "SYSBUFFERPOOLS" "" "" "" "" "SYSIBM" "" "" "9" "" "" "" "" "" "" "" "" > > "" "Perm" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "1" "" "" > > "" "" "" "" "" "" "" "4" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" > > "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" > > "" "" "0" "" "" "" "" "" "" "" ""] > > > > ["0x0DBCB6A0" "0" "" "" "" "" "" "" "" "" "40" "" "" "" "" "" > > "SYSBUFFERPOOLNODES" "SYSIBM" "" "" "0" "" "" "" "" "" "" "" "" "" > > "Perm" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "1" "" "" "" "" "" > > "" "" "" "" "3" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" > > "" "0" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" "" " > > " "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" > > "" "" "0" "" "" "" "" "" "" "" "" "" "0" "" "" "" "" "" "" "" "" "" "0" > > "" "" "" "" "" "" "" ""] > > > > Is there a way to avoid this problem or to work around??? > > > > Cheers > > > > Thorsten > > > > > > > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- http://www.fastmail.fm - Access your email from home and the web