[prev in list] [next in list] [prev in thread] [next in thread]
List: coreutils
Subject: Re: How to explicte specify -t be the "non-blank to blank transition"?
From: Pádraig_Brady <P () draigBrady ! com>
Date: 2012-03-29 7:59:05
Message-ID: 4F741649.6000608 () draigBrady ! com
[Download RAW message or body]
On 03/28/2012 11:07 PM, Peng Yu wrote:
> Hi,
>
> I don't see a way to explicit set -t to "non-blank to blank
> transition", although implicit it is set so. Is there a way to
> explictly set -t to "non-blank to blank transition"?
No.
> More general, is
> there a way to set the separator to other transitions?
Not yet as there hasn't been sufficient need for it.
Currently, both `join` and `sort` take the -t option to specify
a field separator _character_. There was a related change
in `join` since v8.4-17-gf86bb69 where -t '' is used
to match on the whole line (which aligns with the
default operation of sort).
When implementing multi-byte character support for join
(not yet merged) I ensured that multiple bytes where allowed
only when they corresponded to a single character so
that in future we might support higher level functions like
'[:class:]'
cheers,
Pádraig.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic