Mauricio E Ruiz Font wrote: > > existe algun programa para hacer lo que el dd bajo winbugs...
Si el winbugs sige soportando ventanas de MS-DOS, entonces te recomiendo el dd de GNU portado a MS-DOS por delorie (http://www.delorie.com). Se encuentra formando parte del sistema DJGPP (http://www.delorie.com/djgpp). Utiliza el DJGPP Zip File Picker (http://www.delorie.com/djgpp/zip-picker.html) para obtener el nombre y localizaci�n de los ficheros que necesitar�s, y las instrucciones de instalaci�n para tu winbugs. Puedes seleccionar el mirror que quieras aunque no siempre est�n actualizados: yo siempre he preferido usar el nodo principal (ftp.simtel.net). Seguramente s�lo quieras correr programas generados con DJGPP (como el dd.exe), leer documentaci�n on-line (�con info!), no usar lenguajes de programaci�n (C, C++, ...), ni entornos integrados de desarrollo (IDEs), ni depuradores de c�digo, ni c�digo fuente, ni documentaci�n en otros formatos, ni kits de herramientas. Cuando le des al bot�n "Tell me which files I need" te aparecer� una serie de ficheros e instrucciones de instalaci�n. A los ficheros que te diga, a�ade la �ltima versi�n del paquete fil***b: v2gnu/fil316b.zip. Si quieres tener un sistema MS-DOS que tenga m�s aplicaciones GNU, puedes instalarte m�s paquetes del directorio v2gnu/, y tambi�n puede ser interesante que leyeras el v2/readme.1st �sta es la p�gina info del dd.exe que hay en DJGPP (igualita a la que aparece en Debian si haces "info dd"): File: fileutils.info, Node: dd invocation, Next: install invocation, Prev: c\ p invocation, Up: Basic operations `dd': Convert and copy a file ============================= `dd' copies a file (from standard input to standard output, by default) with a changeable I/O blocksize, while optionally performing conversions on it. Synopsis: dd [OPTION]... The program accepts the following options. Also see *Note Common options::. The numeric-valued options below (BYTES and BLOCKS) can be followed by a multiplier: `b'=512, `c'=1, `k'=1024, `w'=2, `xM'=M. `if=FILE' Read from FILE instead of standard input. `of=FILE' Write to FILE instead of standard output. Unless `conv=notrunc' is given, `dd' truncates FILE to zero bytes (or the size specified with `seek='). `ibs=BYTES' Read BYTES bytes at a time. `obs=BYTES' Write BYTES bytes at a time. `bs=BYTES' Both read and write BYTES bytes at a time. This overrides `ibs' and `obs'. `cbs=BYTES' Convert BYTES bytes at a time. `skip=BLOCKS' Skip BLOCKS `ibs'-byte blocks in the input file before copying. `seek=BLOCKS' Skip BLOCKS `obs'-byte blocks in the output file before copying. `count=BLOCKS' Copy BLOCKS `obs'-byte blocks from the input file, instead of everything until the end of the file. `conv=CONVERSION[,CONVERSION]...' Convert the file as specified by the CONVERSION argument(s). (No spaces around any comma(s).) Conversions: `ascii' Convert EBCDIC to ASCII. `ebcdic' Convert ASCII to EBCDIC. `ibm' Convert ASCII to alternate EBCDIC. `block' For each line in the input, output `cbs' bytes, replacing the input newline with a space and padding with spaces as necessary. `unblock' Replace trailing spaces in each `cbs'-sized input block with a newline. `lcase' Change uppercase letters to lowercase. `ucase' Change lowercase letters to uppercase. `swab' Swap every pair of input bytes. GNU `dd', unlike others, works when an odd number of bytes are read--the last byte is simply copied (since there is nothing to swap it with). `noerror' Continue after read errors. `notrunc' Do not truncate the output file. `sync' Pad every input block to size of `ibs' with trailing zero bytes. �Viva el software libre! Aunque sea para Winbugs... -- Conrado Badenas <[EMAIL PROTECTED]> PhD student | Assistant Lecturer Department of Thermodynamics | Department of Optics --------------------------------------------------- Faculty of Physics. University of Valencia c/. Dr. Moliner, 50 46100 Burjassot (Valencia) - SPAIN

