Las lineas son de este estilo: 2000000000000001NIFMASDATOS 2000000000000002NIFMASDATOS 2000000000000003NIFMASDATOS 2000000000000004NIFMASDATOS 2000000000000005NIFMASDATOS 2000000000000006NIFMASDATOS 2000000000000007NIFMASDATOS 2000000000000008NIFMASDATOS
El 2 es fijo, luego el n�mero de secuencia de la l�nea con 15 posiciones y luego NIFS y datos varios. > -----Mensaje original----- > De: Roberto Mu�oz [SMTP:[EMAIL PROTECTED] > Enviado el: martes 14 de junio de 2005 12:21 > Para: Debian User Spanish > Asunto: Re: Desordenar un fichero > > una opcion es a�adir numeros aleatorios al pricipio de cada linea y > luego ordenar el fichero para que lo ordene segun esos numeros y luego > simplemente kitas esos numeros y ya esta hecho. > > Que contiene el ficheros?texto?numeros? > > 2005/6/14, "Mart�nez Li�bana, Manuel" <[EMAIL PROTECTED]>: > > Hola a todos, > > > > Necesito desordenar un fichero y lo �nico que se me ocurre es hacer un > > programita c que con random genere una salida desordenada. He buscado en > el > > archivo de la lista, en google y no encuentro otra alternativa. En > resumen, > > me cuesta creer que no hay una soluci�n m�s sencilla. �Alguien con > alguna > > sugerencia? > > > > Gracias. > > > -------------------------------------------------------------------------- > -- > > > -------------------------------------------------------------------------- > -- > > ------------------------------------ > > La informaci�n contenida en este correo electr�nico es privada y > > confidencial. Cualquier uso, modificaci�n, difusi�n y/o reproducci�n por > > parte de cualquier persona distinta del destinatario est� prohibida. Si > Vd. > > recibe este mensaje por error, por favor b�rrelo y comun�quelo al > remitente. > > > -------------------------------------------------------------------------- > -- > > > -------------------------------------------------------------------------- > -- > > ------------------------------------ > > > > This e-mail and any attachments are confidential and intended solely > > for the addressee and may also be privileged or exempt from disclosure > > under applicable law. If you are not the addressee, or have received > > this e-mail in error, please notify the sender immediately, delete it > > from your system and do not copy, disclose or otherwise act upon any > > part of this e-mail or its attachments.. > > > > Internet communications are not guaranteed to be secure or virus-free. > > The Barclays Group does not accept responsibility for any loss arising > > from unauthorised access to, or interference with, any Internet > > communications by any third party, or from the transmission of any > > viruses. Replies to this e-mail may be monitored by the Barclays > > Group for operational or business reasons.. > > > > Any opinion or other information in this e-mail or its attachments > > that does not relate to the business of the Barclays Group is personal > > to the sender and is not given or endorsed by the Barclays Group. > > > > Barclays Bank PLC.Registered in England and Wales (registered no. > 1026167). > > Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. > > > > Barclays Bank PLC is authorised and regulated by the Financial Services > Authority. > > > > > > > -- > *************************************************** > Roberto Mu�oz G�mez NIA: 100039318 > Ingenier�a Informatica > Universidad Carlos III de Madrid (Espa�a) > *************************************************** > Linux User Number 364964 ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------------------------ La informaci�n contenida en este correo electr�nico es privada y confidencial. Cualquier uso, modificaci�n, difusi�n y/o reproducci�n por parte de cualquier persona distinta del destinatario est� prohibida. Si Vd. recibe este mensaje por error, por favor b�rrelo y comun�quelo al remitente. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------------------------ This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments.. Internet communications are not guaranteed to be secure or virus-free. The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this e-mail may be monitored by the Barclays Group for operational or business reasons.. Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group. Barclays Bank PLC.Registered in England and Wales (registered no. 1026167). Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays Bank PLC is authorised and regulated by the Financial Services Authority.

