Re: [PATCH 2/4] Changed multiline conditional lists to if statements in dracut-functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-05-22 at 22:41 -0400, David Dillow wrote:
> On Fri, 2009-05-22 at 19:24 -0700, Victor Lowther wrote:
> > It seems that some people object to multiline conditional lists.
> > Oh, well, no accounting for taste.
> 
> I didn't see the complaints... I prefer the conditional list construct,
> which I've used heavily in my nfsroot patches (cleaning them up as I
> type this).

It was part of a conversation on IRC (#dracut on freenode).

While I prefer conditional lists, I can read and understand the code
just as easily both ways.  

OTOH, if someone proposes using [ instead of [[ for conditionals where
we don't have to be POSIX, there will be a huge argument. :)

> Oh well, I'll post what I have in the current form, and we can talk
> about changing it going forward if needed.

Works for me.

-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux