Title: RE: [linux] RE: cut

ok, coool, encore un truc bizzare :-)

si je fait: `du -cha /var/db/pkg | grep ebuild`

4.0K    /var/db/pkg/gnome-extra/bug-buddy-2.2.0/bug-buddy-2.2.0.ebuild
4.0K    /var/db/pkg/x11-terms/gnome-terminal-2.0.1/gnome-terminal-2.0.1.ebuild
4.0K    /var/db/pkg/x11-wm/metacity-2.4.1/metacity-2.4.1.ebuild

je vois que le chemin commence systématiquement à la meme colonne (bien aligné)

par contre si je fait un `du -cha /var/db/pkg | grep ebuild | cut -c 18-`
(pour avoir uniquement ce qui se trouve apres /var/db/pkg), je me rend compte que la premire lettre du répertoire est *parfois* perdue... bizzare

ci joint exemple:
list1 (`du -cha /var/db/pkg | grep ebuild`)
list2 (`du -cha /var/db/pkg | grep ebuild` | cut -c 18-)

Encore merci :-)


This electronic transmission and any attached document is intended exclusively for the person or entity to whom it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you receive this message in error, please contact the sender and delete the material from any and all computers. SPEOS does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays.


   

 

Attachment: list1
Description: Binary data

Attachment: list2
Description: Binary data

Répondre à