Commits

lan Nomar committed 894afc2

Added Ground case Skip

  • Participants
  • Parent commits 4db719d

Comments (0)

Files changed (1)

 
 fn Color {
  switch($$1){
-  case [Bb]la* [Dd]a*	;	$1=0	# Black Dark
+  case [Bb]la*	[Dd]a*	;	$1=0	# Black Dark
   case [Rr]*			;	$1=1	# Red
   case [Gg]*			;	$1=2	# Green
   case [Yy]*			;	$1=3	# Yellow
   case [Ww]*			;	$1=7	# White
   case [Dd]e*			;	$1=9	# Default
   case [Oo]*			;	printf '\033['^$Type^'m' ; exit 0 #Off
-  case [Nn]*			;	$1=() #(one ull)
+  case [Nn]*	[Ss]*	;	$1=() #(one ull) Skip
   case *				;	echo 'No such color' ; exit 1 } }
 
 Type=($flagt $3) ; if (~ $#Type 1) {