18
0
Fork 0

HowtoRedmine: syntaxe

This commit is contained in:
Alexis Ben Miloud--Josselin 2022-12-12 17:54:21 +01:00
parent fb730a1476
commit c5b2e9bef2
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +322,7 @@ $ cat ./lib/redmine/version.rb
~~~
> Commande AWK pour extraire la version au format `x.y.z` :
>
> ~~~
> $ awk '/^ *MAJOR/ { major = $NF } /^ *MINOR/ { minor = $NF } /^ *TINY/ { tiny = $NF } END { printf "%u.%u.%u", major, minor, tiny }' ./lib/redmine/version.rb
> ~~~