some clarification
This commit is contained in:
@@ -31,6 +31,8 @@ If either could be ignored the individual exit statuses could simply be printed.
|
||||
Pscat's function is redundant to the sh(1) construct
|
||||
.RB { utility ; utility ;}
|
||||
- this is a feature, not a bug.
|
||||
.PP
|
||||
pscat [ cat | cat ] will pipe "pscat [ cat" into "cat ]", which is a potentially unexpected result of a command.
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
|
||||
@@ -44,11 +44,11 @@ check_arg(char **argv){
|
||||
return 0; /* syntax error */
|
||||
break;
|
||||
default: /* >= INLPAREN */
|
||||
if(SCMPFLAT(*argv, R_PAREN)){
|
||||
--s;
|
||||
terms += s == NORMAL;
|
||||
}else if(SCMPFLAT(*argv, L_PAREN)) /* ineligant */
|
||||
++s;
|
||||
if(argv[0][1] == '\0'){
|
||||
s -= (argv[0][0] == R_PAREN);
|
||||
terms += (argv[0][0] == R_PAREN && s == NORMAL);
|
||||
s += (argv[0][0] == L_PAREN);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user