On Sat, Apr 23, 2011 at 11:07:06AM +0430, ali hagigat wrote:
> I have a makefile and I want to print each word of the variable, .VARIABLES
> on a separate line.
> It seems that the previous simple solution of Mr. Johnson here does not
> work, means: printf "%s\n" $var
make(1) is a separate progra
g src/arch/i386/Makefile.inc
>> means some words separated by spaces. I want to print each word on a
>> separate line. I think I have to use "awk" or "sed" string processing
>> tools. I wonder if anybody have experience with them or any other
>> means to do it.
>
On 4/5/2011 11:09 PM, ali hagigat wrote:
I have a variable like this:
var1=Makefile .xcompile /root/build/.config src/arch/i386/Makefile.inc
means some words separated by spaces. I want to print each word on a
separate line. I think I have to use "awk" or "sed" string proces
On Tue, Apr 5, 2011 at 10:39 PM, ali hagigat wrote:
> I have a variable like this:
> var1=Makefile .xcompile /root/build/.config src/arch/i386/Makefile.inc
> means some words separated by spaces. I want to print each word on a
> separate line. I think I have to use "awk
gt;> means some words separated by spaces. I want to print each word on a
>> separate line. I think I have to use "awk" or "sed" string processing
>> tools. I wonder if anybody have experience with them or any other
>> means to do it.
>
> p
On Wed, 6 Apr 2011, ali hagigat wrote:
I have a variable like this:
var1=Makefile .xcompile /root/build/.config src/arch/i386/Makefile.inc
means some words separated by spaces. I want to print each word on a
separate line. I think I have to use "awk" or "sed" string proces
I have a variable like this:
var1=Makefile .xcompile /root/build/.config src/arch/i386/Makefile.inc
means some words separated by spaces. I want to print each word on a
separate line. I think I have to use "awk" or "sed" string processing
tools. I wonder if anybody have experie