Lesson plan
unexpand
unexpand is a shell command that converts space characters to tab characters. Originally, developed for Unix and standardized by POSIX, it is available on many operating systems today. In the following commands, the echo command prints a string of text that includes multiple consecutive spaces. The output is directed into . The resulting output is displayed as octal via od . At the second prompt, the same echo output is sent directly to . As shown, converts each sequence of eight spaces to a tab (printed as '\t'). $ 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
Article summary
unexpand is a shell command that converts space characters to tab characters. Originally, developed for Unix and standardized by POSIX, it is available on many operating systems today. In the following commands, the echo command prints a string of text that includes multiple consecutive spaces. The output is directed into . The resulting output is displayed as octal via od . At the second prompt, the same echo output is sent directly to . As shown, converts each sequence of eight spaces to a tab (printed as '\t'). $ 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
Key claims
No claims recorded.
Discussion questions
- Summarise the article in your own words. Which single claim would you verify first, and why?
- Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
- If two sources disagreed about one of these facts, what would you need in order to trust one over the other?
Bibliography
No sources recorded.
Key claims and bibliography are generated from the same tracked claims and sources as the article page.