nawk command

what is this nawk doing?

This is for solaris 10 with trusted extensions.

Level=$(plabel | nawk 'BEGIN {FS='[\\]\[]*"} {PRINT $2}' )

it is supposed to return UNCLASSIFIED or whatever the zone label is.

I understant $() execute this stuff, FS is field separator, print the 2nd field.

Can somebody explain to me what it does and maybe a way to make it easier?

thanks.

Looks like the field seperator is \][
and zero or many of them.

How does ur inp file look like?