|
|
1.1 ! root 1: ! 2: ! 3: dd Command dd ! 4: ! 5: ! 6: ! 7: ! 8: File conversion ! 9: ! 10: dddd [_o_p_t_i_o_n=_v_a_l_u_e] ... ! 11: ! 12: dd copies an input file to an output file, while performing re- ! 13: quested conversions. Options include case and character set con- ! 14: versions, byte swapping conversion for other machines, and dif- ! 15: ferent input and output buffer sizes. dd can be used with raw ! 16: disk files or raw tape files to do efficient copies with large ! 17: block (record) sizes. Read and write requests can be changed ! 18: with the bs option described below. ! 19: ! 20: The following list gives each available option. Any numbers ! 21: which specify block sizes or seek positions may be written in ! 22: several ways. A number followed by w, b, or k is multiplied by ! 23: two (for words), 512 (for blocks), or 1,024 (for kilobytes), ! 24: respectively, to obtain the size in bytes. A pair of such num- ! 25: bers separated by x is multiplied together to produce the size. ! 26: All buffer sizes default to 512 bytes if not specified. ! 27: ! 28: bbss=_n Set the size of the buffer for both input and output to n ! 29: bytes. ! 30: ! 31: ccbbss=_n Set the conversion buffer size to n bytes (used only with ! 32: character set conversions between ASCII and EBCDIC). ! 33: ! 34: ccoonnvv=_l_i_s_t ! 35: Perform conversions specified by the comma-separated ! 36: list, which may include the following: ! 37: ! 38: aasscciiii Convert EBCDIC to ASCII. ! 39: eebbccddiicc Convert ASCII to EBCDIC. ! 40: iibbmm Convert ASCII to EBCDIC, IBM flavor. ! 41: llccaassee Convert upper case to lower. ! 42: nnooeerrrroorr Continue processing on I/O errors. ! 43: sswwaabb Swap every pair of bytes before output. ! 44: ssyynncc Pad input buffers with 0 bytes to size of iibbss. ! 45: uuccaassee Convert lower case to upper. ! 46: ! 47: ! 48: ccoouunntt=_n ! 49: Copy a maximum of n input records. ! 50: ! 51: ffiilleess=_n ! 52: Copy a maximum of n input files (useful for multifile ! 53: tapes). ! 54: ! 55: iibbss=_n Set the input buffer size to n (normally used if input ! 56: and output blocking sizes are to be different). ! 57: ! 58: iiff=_f_i_l_e ! 59: Open file for input; the standard input is used when no ! 60: if= option is given. ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66: ! 67: ! 68: ! 69: dd Command dd ! 70: ! 71: ! 72: ! 73: oobbss=_n Set the output buffer size to n. ! 74: ! 75: ooff=_f_i_l_e ! 76: Open file for output; the standard output is used when no ! 77: of= option is given. ! 78: ! 79: sseeeekk=_n Seek to position n bytes into the output before copying ! 80: (does not work on stream data such as tapes, com- ! 81: munications devices, and pipes). ! 82: ! 83: sskkiipp=_n Read and discard the first n input records. ! 84: ! 85: ***** See Also ***** ! 86: ! 87: ASCII, commands, conv, cp, tape, tr ! 88: ! 89: ***** Diagnostics ***** ! 90: ! 91: The command reports the number of full and partial buffers read ! 92: and written upon completion. ! 93: ! 94: ***** Notes ***** ! 95: ! 96: Because of differing interpretations of EBCDIC, especially for ! 97: certain more exotic graphic characters such as braces and back- ! 98: slash, no one conversion table will be adequate for all ap- ! 99: plications. The ebcdic table is the American Standard of the ! 100: Business Equipment Manufacturers Association. The ibm table ! 101: seems to be more practical for line printer codes at many IBM in- ! 102: stallations. ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: ! 127: ! 128: ! 129: ! 130: COHERENT Lexicon Page 2 ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.