Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
列番号 1750960 の「スペース」を文字「0」に置き換えたいテキスト ファイル (タブ区切り) があります。これを行う方法?
実際に行の 1750960 番目の文字について話している場合、これは気の利いた方法です。
echo $YOUR_LINE | sed 's|\(.\{1750959\}\).|\10|'
\(および\)' take whatever is matched inside them and relates it back to\1` が置換で使用されます。
\(
\)' take whatever is matched inside them and relates it back to
これが役立つことを願っています