Get the App
SLTechnology News&Howtos  ›  Servers  › 

White space character conversion using the unexpand command of linux

Shulou Source: shulou.com Published: 2022-06-02 15:52:21 10月04日 Update

This article mainly introduces the use of linux unexpand command blank character conversion, the article is very detailed, has a certain reference value, interested friends must read it!

The unexpand command is used to convert white space characters (space) into tabs (TAB) in a given file and display the conversion results on a standard output device (display terminal).

Syntax format: unexpand [parameters]

Common parameters:

Reference example

Convert all white space characters in the test.txt file:

[root@linuxcool ~] # unexpand-a text.txt above is all the content of white space character conversion using linux's unexpand command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Characters whitespace commands content parameters files references values interests tabs examples guys buddies commonly used more standards formats knowledge articles terminals Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB OPPO Reno Redmi Docker NVidia