El 23/11/06, Xous<[EMAIL PROTECTED]> escribió:
[..]
probe con varias alternativas... --key 9,15   cambiando 8 x 9 (aunque
segun el man dice que el 1er índice es 1, y no en 0.

Tienen idea donde le puedo estar pifiando?
muchas gracias!
hola Xous

probá: sort -k1.9 prueba.txt

después mirá esta parte del man:
      POS is F[.C][OPTS], where F is the field number  and  C  the  character
      position  in  the  field.   OPTS  is one or more single-letter ordering
      options, which override global ordering options for that  key.   If  no
      key is given, use the entire line as the key.


saludos
--
/* Rafael Bidegain
Linux Registered User # 204304
CaFeLUG Grupo de Usuarios de Software Libre de Capital Federal
http://www.cafelug.org.ar */
-- 
Para desuscribirte tenés que visitar la página
https://listas.linux.org.ar/mailman/listinfo/lugar-gral/

/* Publica y encontra trabajo relacionado con softlibre en 
http://www.usla.org.ar/modules/jobs/ */

Si tenés algún inconveniente o consulta escribí a mailto:[EMAIL PROTECTED]

Responder a