Probleme Pipe CSH
Résolu
visiteurr
-
visiteurr -
visiteurr -
Bonjour,
Je suis en Cshell je ne comprend pas pourquoi ça fait ca :
test% more tttt
1 2 3 4
1 6 7 8
9 9 11 12
13 14 15 16
test% tail +2 tttt | sed '$d' tttt
1 2 3 4
1 6 7 8
9 9 11 12
test% sed '$d' tttt | tail +2 tttt
1 6 7 8
9 9 11 12
13 14 15 16
test% tail +2 tttt > tttt2
test% sed '$d' < tttt2
1 6 7 8
9 9 11 12
les pipes marche bien comme ca non ?
je veu obtenir les 2 dernieres ligne avec un pipe ... quelqu'un sait ? merci =)
Je suis en Cshell je ne comprend pas pourquoi ça fait ca :
test% more tttt
1 2 3 4
1 6 7 8
9 9 11 12
13 14 15 16
test% tail +2 tttt | sed '$d' tttt
1 2 3 4
1 6 7 8
9 9 11 12
test% sed '$d' tttt | tail +2 tttt
1 6 7 8
9 9 11 12
13 14 15 16
test% tail +2 tttt > tttt2
test% sed '$d' < tttt2
1 6 7 8
9 9 11 12
les pipes marche bien comme ca non ?
je veu obtenir les 2 dernieres ligne avec un pipe ... quelqu'un sait ? merci =)