Intéressant: Je ne connaissais pas cet usage de la commande: ``column'' $ s2p='s/[[:space:]]\+/|/;';printf -v fields '%*s' 7; /bin/ls -g | sed "1d;${fields// /$s2p}" | column --table --separator '|' --table-noheadings \ --table-columns perm,b,grup,siz,day,mnt,yot,name --table-wrap name ou $ s2p='s/[[:space:]]\+/|/;';printf -v fields '%*s' 5;LANG=C df -k | sed "${fields// /$s2p}" | column --table --separator '|' --table-noheadings \ --table-columns fs,tot,use,ava,pct,mpnt --table-wrap fs
-- Félix Hauri - <fe...@f-hauri.ch> - http://www.f-hauri.ch _______________________________________________ gull mailing list gull@forum.linux-gull.ch https://forum.linux-gull.ch/mailman/listinfo/gull