lundi 2 mars 2015

delete non important characters from command output


the version command in my Linux machines display the following output



version


Red.Hat.OS. release..........5.5
APP.Release.............4.2.0.0-02


how to remove the middle "." dot character without to remove them from the parameters as the following:



version | .......


Red.Hat.OS. release 5.5
APP.Release version 4.2.0.0-02



  • remark in parameter between the character could be only one dot character



Aucun commentaire:

Enregistrer un commentaire