On Thu, Oct 29, 2009 at 1:17 PM, Diego Elio “Flameeyes” <flameeyes@xxxxxxxxx> wrote: > Il giorno Thu, 29/10/2009 alle 20.10 +0000, Alan Jenkins ha scritto: >> >> Thanks for the corrections Martin. Looks like the real problem is my >> awk doesn't grok "[[:space:]]". > >> My awk package is mawk-1.3.3-11.1. >> >> > Heh, no wonder then, [[:space:]] is a GNU regexp extension, which is > thus only available on GNU awk (gawk); who's going to choose between > checking for gawk explicitly or make it use a generic regexp? gawk(1) says that the character classes are a POSIX extension, but whatever. Isn't [ \t] equivalent for this case? That works on my system running gawk with --traditional, but I don't have mawk. -- Dan -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html