changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/boot/bootrc

revision 4414: 68c3ed8bb168
parent 4368: b2b787d06d91
child 4470: 218d97f6097a
     1.1--- a/sys/src/9/boot/bootrc
     1.2+++ b/sys/src/9/boot/bootrc
     1.3@@ -70,8 +70,9 @@ fn main{
     1.4 		}
     1.5 		if not bootargs=$nobootprompt
     1.6 		nobootprompt=()
     1.7-		mn=`{echo $bootargs | awk -F! '{print $1}'}
     1.8-		ma=`{echo $bootargs | sed 's/[^!]*!?//'}
     1.9+		mn=`{echo $bootargs | sed 's,!, ,'}
    1.10+		ma=$mn(2-)
    1.11+		mn=$mn(1)
    1.12 		switch(m$"mn){
    1.13 		case $mt
    1.14 			mp=m$mn