chfm

Section: ユーザーコマンド (1)
Updated: 2021年7月
Index Return to Main Contents
 

名前

chfm - 書式を指定したテキストの整形  

書式

chfm [オプション] 位置:書式...  

説明

chfmはパラメータにより簡単にテキストファイルを整形します。 位置は1から始まる整数、書式は awk(1) の printf 書式に準じます。

-h
ヘルプの表示
-s
続けて入力の項目区切り文字を指定
-d
続けて出力の項目区切り文字を指定

 

実行例

    $ head /etc/passwd | chfm -s: -d 1:-10s 3:03d 4:03d
        |root      |000|000|
        |bin       |001|001|
        |daemon    |002|002|

 

作者

mailto: akihito.yakoshi@gmail.com  

著作権

Copyright © 2021 ycos Systems


 

Index

名前
書式
説明
実行例
作者
著作権

This document was created by man2html, using the manual pages.
Time: 06:21:51 GMT, July 21, 2021