Unix Power ToolsUnix Power ToolsSearch this book

21.13. Text Conversion with dd

Besides the other uses of dd (Section 21.6) we've covered, you also can use this versatile utility to convert:

The cbs= option must be used to specify a conversion buffer size when using block and unblock and when converting between ASCII and EBCDIC. The specified number of characters are put into the conversion buffer. For ascii and unblock conversion, trailing blanks are trimmed and a newline is added to each buffer before it is output. For ebcdic, ibm, and block, the input is padded with blanks up to the specified conversion buffer size.

-- TOR



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.