Cannabaceae

unexpand
Operating systemUnix and Unix-like
PlatformCross-platform
TypeCommand

unexpand is a command in Unix and Unix-like operating systems. It is used to convert groups of space characters into tab characters.[1]

For example:

$ echo "                 asdf sdf" | unexpand | od -c
0000000  \t  \t       a   s   d   f       s   d   f  \n
0000014
$ echo "                 asdf sdf" | od -c
0000000
0000020       a   s   d   f       s   d   f  \n
0000032

Here the echo command prints a string of text that includes multiple consecutive spaces, then the output is directed into the unexpand command. The resulting output is then displayed by the octal dump command od. At the second prompt, the same echo output is sent directly through the od command. As can be seen by comparing the two, the unexpand program converts sequences of eight spaces into single tabs (printed as '\t').

See also[edit]

References[edit]

  1. ^ "unexpand - Compress spaces into tabs". www.ibm.com. Retrieved 2024-05-09.

External links[edit]

One thought on “Cannabaceae

  1. Well, that’s interesting to know that Psilotum nudum are known as whisk ferns. Psilotum nudum is the commoner species of the two. While the P. flaccidum is a rare species and is found in the tropical islands. Both the species are usually epiphytic in habit and grow upon tree ferns. These species may also be terrestrial and grow in humus or in the crevices of the rocks.
    View the detailed Guide of Psilotum nudum: Detailed Study Of Psilotum Nudum (Whisk Fern), Classification, Anatomy, Reproduction

Leave a Reply