I think the given syntax will work but here is a simple working example that
includes ''case'' in the way you were looking for. this does the "ls"
command back to back followed by the switch statement followed by another
"ls" command:
time { ls && ls && case $(uname -m) in x86_64) echo "HELLO" ;; esac && ls;
};
try it out -- see if it works for you
On Tue, Oct 26, 2010 at 12:10 AM, lfs <[email protected]> wrote:
> So here is the threatened thread from my previous post.
>
> O.K. binutils installed without error.
> The 1st time I started thru the book, I ran the `time' function' <--is
> that the right word? I have never been in IT, so if the word is wrong,
> please give me the right one to use, and got a SBU.
>
> As this is my 3rd start, I elected not to bother this time.
>
> My Question..
>
> No another statement..I understand how to include the configure flags in
> the `time' function.
> I do not understand how to include the 'case' struc.
>
> As between the `make' and `make install' the `case' statement must be
> executed.
> And as I read and understand(?) the lib43 must be in existence be the
> install call.
> Right or wrong on my part??
>
>
> Now the question...
> How do you include it(case) in the `time' function, as it is written??
>
> TIA
> Nolan
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page