Duntie [ -t default-delimiter ] [ -z default-options ] field-name field-format-list [ input-file.. ]
Duntie は, field-name のフィールドに field-format-list を適用して分解し, いくつかのフィールドにする。 field-name に指定された対象フィールドの 値を,入力文字列とし, DfromLine と同様に field-format-list を入力フォーマットとして適用して, 結果として得られたフィールド群でもとの フィールドを置き換える。 field-name のフィールドが繰返した場合, この,分解,置換え操作が個々の field-name フィールドに対して行われる。
コマンド:
Duntie -t / date "y,m,d"
入力:
date:1997/12/14
price:135.24
date:1998/10/08
price:122.87
結果:
y:1997
m:12
d:14
price:135.24
y:1998
m:10
d:08
price:122.87
マニュアル D_msg参照。
MIYAZAWA Akira