How to run shell command in spec file? I want to do something like this:
uname -r | sed s/(...stuff...)/(...stuff...)
If you need it like something like %define or %global or a macro, you can use " %(shell_command) ". Note () not {} .
%define
%global
%(shell_command)
()
{}
Source: https://habr.com/ru/post/916229/More articles:SWFobject inside iFrame: cross domain? - flashwhy do we need comparison operators in boost python index indexing package? - c ++C ++ reading a file using ifstream - c ++Remove this from javascript object in jQuery.each () - javascriptElasticsearch Huge Data Index - elasticsearchwhich of == and =: = should I use? - performancePrint arabic string in java - javaDisplay Arabic Text in J2me Using Eclipse - javaWill the ribbon toolbar button work on the Tridion Home tab? - tridionHow to get a full set of values โโof embedded fields in a pop-up window in the Tridion Web web interface? - tridionAll Articles