Shell Unix IYL - Dernière réponse le 2 sept. 2004 3 réponses Je souhaiterais récupérer les deux premiers caractères de chaque ligne d'un fichier en KSH, avec awk ou autre ? une idée. Par avance merci. Afficher la suite 3 réponses Trié par votes Votes Date Date décroissante Réponse 1 / 3 nob cat fichier | cut -b 1-2 man cut Réponse 2 / 3 nob test/>cd /tmp test/tmp>cat > fp fdgg 00 fgdg dfgg dd test/tmp>cat fp | cut -b 1-2 fd fg df test/tmp>rm fp test/tmp> Réponse 3 / 3 IYL Merci nob. Discussions similaires je ne sais pas comment installer le scrabble tomai Equivalent d'ipconfig sur machine unix yves_web pourquoi installer classic shell zaza Classic shell est il sain? Mots croisés [shell] Comment additionner des valeurs fabriceOb Sujet Précédent Sujet Suivant
Réponse 2 / 3 nob test/>cd /tmp test/tmp>cat > fp fdgg 00 fgdg dfgg dd test/tmp>cat fp | cut -b 1-2 fd fg df test/tmp>rm fp test/tmp>