awk inside a makefile
I am writing a Makefile and need to use simple awk command to parse a file.
my makefile looks like this : Code:
SYSTEM=`cat /etc/redhat-release | awk -F" " '{ print $1 }' ` is there any way to this any other way ? Thanks. Pyro |
You can try using cut or a set of cuts.
|
Hey thanks for that tip.. I got cut to work :). thanks.
|
All times are GMT -5. The time now is 03:17 PM. |