Created
October 7, 2011 14:36
-
-
Save jlecour/1270400 to your computer and use it in GitHub Desktop.
awk est un grotte pleine de mystères pour moi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Puisque plein de voix s'élèvent pour m'aider avec awk, voilà mon "problème". | |
Je cherche à récupérer des infos dans la sortie d'une commande : | |
$ gem build project.gemspec | |
WARNING: no homepage specified | |
Successfully built RubyGem | |
Name: project | |
Version: 2.7.5 | |
File: project-2.7.5.gem | |
Je voudrais obtenir 2 portions (en 2 appels j'imagine) : "2.7.5" et "project-2.7.5.gem" | |
Merci ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment