On Friday 28 September 2007 03:08, Carlos E. R. wrote:
Randall R Schulz wrote:
Dd is just a fancy copy program. It does not format the data it transfers.
Actually, it does:
] DD(1) User Commands DD(1) ] ] ] NAME ] dd - convert and copy a file
^^^^^^^
Sort of, but it cannot do octal, decimal or hex conversion nor can it perform these non-existent conversions on multibyte items such as 16- or 32-bit quantities. The only two-byte operation it has is byte swapping. To wit: conv=CONVS convert the file as per the comma separated symbol list ... ascii from EBCDIC to ASCII ebcdic from ASCII to EBCDIC ibm from ASCII to alternate EBCDIC block pad newline-terminated records with spaces to cbs-size unblock replace trailing spaces in cbs-size records with newline lcase change upper case to lower case nocreat do not create the output file excl fail if the output file already exists notrunc do not truncate the output file ucase change lower case to upper case swab swap every pair of input bytes noerror continue after read errors sync pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs fdatasync physically write output file data before finishing fsync likewise, but also write metadata
;-)
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org