On Sun Feb 15 2009 @ 9:48, Jack Butchie wrote:
> I used a tab, then a pipe, both produced the same results.
>
> LAWNS|123|GOOD
>
> LAWNS|12|GOOD
The results are the same because the test is for the whole line. If you
only want to test one field, you need a different script. For example, this
will
I used a tab, then a pipe, both produced the same results.
LAWNS|123|GOOD
LAWNS|12|GOOD
- Original Message -
From: "Gunnar Hjalmarsson"
To:
Sent: Sunday, February 15, 2009 9:16 AM
Subject: Re: Add Line break when first of a line changes
Jack Butchie wrote:
I did som
Jack Butchie wrote:
I did some fiddling with the list. I noticed if the second or third or
whatever column wasn't exactly the same as the previous, even though the
tex in the first field was the same, line was being added.
What's the field separator?
--
Gunnar Hjalmarsson
Email: http://www.
On Sun Feb 15 2009 @ 8:56, Jack Butchie wrote:
> I did some fiddling with the list. I noticed if the second or third or
> whatever column wasn't exactly the same as the previous, even though the
> tex in the first field was the same, line was being added. I then tested
> with only the first
Telemachus wrote:
On Sun Feb 15 2009 @ 7:25, Jack Butchie wrote:
I have a txt file of products that I would like to be able to insert a
blank line whenever the name of the product changes, to make it easier to
read. I found this srcipt hunting about but I don't know how to apply it
to the te
us"
To:
Sent: Sunday, February 15, 2009 8:07 AM
Subject: Re: Add Line break when first of a line changes
On Sun Feb 15 2009 @ 7:25, Jack Butchie wrote:
I have a txt file of products that I would like to be able to insert a
blank line whenever the name of the product changes, to make it
FFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
WAFFLES BAD BAD GOOD
- Original Message -
From: "Telemachus"
To:
Sent: Sunday, February 15, 2009 8:07 AM
Subject: Re: Add Line break when first of
On Sun Feb 15 2009 @ 7:25, Jack Butchie wrote:
> I have a txt file of products that I would like to be able to insert a
> blank line whenever the name of the product changes, to make it easier to
> read. I found this srcipt hunting about but I don't know how to apply it
> to the text file. I'v
I have a txt file of products that I would like to be able to insert a blank
line whenever the name of the product changes, to make it easier to read. I
found this srcipt hunting about but I don't know how to apply it to the text
file. I've tried all kinds of different things but just don't get