Rectificatif :-) Le jeudi 25 septembre à 13:02, Philippe Delavalade a écrit : > Le jeudi 25 septembre à 12:10, Aldo a écrit : > head -y machin.txt | tail -x > > n'est pas bien méchant et te donne les lignes entre x et y (x et y incluses).
J'ai fait une connerie, ça donne les lignes de y-x à y ; pour avoir de x à y head -y machin.txt | tail -n +x et pour être cohérent : head -n y machin.txt | tail -n +x -------------- Ph. Delavalade _______________________________________________ Liste de diffusion CarrefourBLinuX CarrefourBLinuX@lists.freearchive.org http://lists.freearchive.org/mailman/listinfo/carrefourblinux Pour s'inscrire par courriel : 'mailto:[EMAIL PROTECTED]' Pour se retirer de la liste par courriel : 'mailto:[EMAIL PROTECTED]' Archives : http://lists.freearchive.org/pipermail//carrefourblinux Anciennes archives (Yahoogroupes) : http://fr.groups.yahoo.com/group/carrefourblinux/messages Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/ Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu