Quote:
Originally Posted by gnashley
DO you have such programs on your system ('upper' and 'lower')?
This works here:
c:
@echo $(n)
@echo $(n) | tr 'a-z' 'A-Z'
@echo $(n) | tr 'A-Z' 'a-z'
|
No, I don't have such programs, that was meant to be text string.
As for the solution you suggested there are 2 things with it:
1. I need a single string in the same line that contains text string before and after the variable that I turn into capital letters (or small letters).
For example I want the output (hopefully it'll be more clear now) in a single line:
"This text is in upper case: $(variableInUpperCase), but this is in lower case: $(variableInLowerCase) everything in this quote is in a single line that ends here."
2. It should work from inside makefile in ubuntu-linux environment (I figured this is linux questions forums so I didn't mention it earlier, my bad).
Thank you for trying to help anyway