使用法: unexpand [オプション]... [ファイル]...
Convert blanks in each FILE to tabs, writing to standard output.
With no FILE, or when FILE is -, read standard input.
長いオプションに必須の引数は短いオプションにも必須です.
-a, --all convert all blanks, instead of just initial blanks
--first-only convert only leading sequences of blanks (overrides -a)
-t, --tabs=N have tabs N characters apart instead of 8 (enables -a)
-t, --tabs=LIST use comma separated LIST of tab positions (enables -a)
--help この使い方を表示して終了
--version バージョン情報を表示して終了
Report unexpand bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Usage: unexpand [OPTION]... [FILE]...
Convert blanks in each FILE to tabs, writing to standard output.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
-a, --all convert all blanks, instead of just initial blanks
--first-only convert only leading sequences of blanks (overrides -a)
-t, --tabs=N have tabs N characters apart instead of 8 (enables -a)
-t, --tabs=LIST use comma separated LIST of tab positions (enables -a)
--help display this help and exit
--version output version information and exit
Report unexpand bugs to bug-coreutils@gnu.org
GNU coreutils home page:
UNEXPAND(1) UNEXPAND(1)
名前
unexpand - スペースをタブに変換する
書式
unexpand [-a] [-TAB1[,TAB2...] [-t TAB1[,TAB2...] [--all]
[--first-only] [--tabs=TAB1[,TAB2...] [FILE...]
unexpand [--help] [--version]
説明
unexpand は指定されたファイルの内容を標準出力に書き込む。その際「2 つ以
上 のスペースまたはタブ文字からなる文字列」を変換し、できるだけ多くのタ
ブ文字に、必要な分のスペース文字を加えた文字列にする。 FILE が 1 つも与
えられないと標準入力から読み込む。また FILE が ‘-’ だった場合には、その
ファイルには標準入力が用いられる。
オプション
-TAB1[,TAB2...], -t TAB1[,TAB2...], --tabs=TAB1[,TAB2...]
タブストップが 1 つだけ与えられた場合には、タブを TAB1 おきに 設
定 す る (デフォルトは 8)。その他の場合は、タブを TAB1 桁、TAB2
桁... に設定し (桁数は 0 から数え始める) 、最後のタブ位置以降 の
タブ文字やスペース文字は変換せずにそのまま出力する。タブストップ
を --tabs (-t) オプションで指定する際には、それぞれの間は空白 ま
た はコンマで区切る。短いオプション形式 - は推奨されない。このオ
プションが指定されると -a オプションも同時に指定されたことになる
。
-a, --all
先 頭 のものだけでなく、行中の「タブ文字とスペース文字からなる 2
文字以上の文字列」をすべて変換する。
--first-only
1 度だけ置き換えを行って終了する。
--help 標準出力に使用方法のメッセージを出力して正常終了する。
--version
標準出力にバージョン情報を出力して正常終了する。
注意
プログラムのバグについては bug-textutils@gnu.org に報告してください。
man ページは Ragnar Hojland Espinosa
UNEXPAND(1) User Commands UNEXPAND(1)
NAME
unexpand - convert spaces to tabs
SYNOPSIS
unexpand [OPTION]... [FILE]...
DESCRIPTION
Convert blanks in each FILE to tabs, writing to standard output. With
no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options
too.
-a, --all
convert all blanks, instead of just initial blanks
--first-only
convert only leading sequences of blanks (overrides -a)
-t, --tabs=N
have tabs N characters apart instead of 8 (enables -a)
-t, --tabs=LIST
use comma separated LIST of tab positions (enables -a)
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report unexpand bugs to bug-coreutils@gnu.org
GNU coreutils home page:
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa