/illumos-gate/usr/src/tools/scripts/ |
H A D | wdiff.pl | 38 if ($#ARGV + 1 == 1) { 39 $diffword = $ARGV[0]; 41 $ARGV[0] = '-'; 42 $ARGV[1] = '-'; 43 } elsif ($#ARGV + 1 == 2) { 44 open DIFF, "diff -D $diffword $ARGV[0] $ARGV[1] | expand |"; 50 $title = $opt_t ? $opt_t : "Differences between $ARGV[0] and $ARGV[1]"; 206 print "<pre><span class='subtracted'> --- $ARGV[0] 207 </span><span class='added'> +++ $ARGV[1]
|
H A D | validate_flg.pl | 137 die "$0: missing argument for $_\n" if $#ARGV == -1; 138 $arg = shift @ARGV; 147 while ($#ARGV >= 0) { 148 $_ = $ARGV[0]; 150 shift @ARGV; 168 if ($#ARGV == 0) { 169 $basedir = shift @ARGV; 170 } elsif ($#ARGV > 0) {
|
H A D | validate_paths.pl | 135 die "$0: missing argument for $_\n" if $#ARGV == -1; 136 $arg = shift @ARGV; 145 while ($#ARGV >= 0) { 146 $_ = $ARGV[0]; 148 shift @ARGV; 194 if ($#ARGV < 0) { 197 foreach $file (@ARGV) {
|
H A D | interface_check.pl | 416 @SaveArgv = @ARGV; 417 if ((getopts('c:E:e:f:hIi:ow:', \%opt) == 0) || (!$opt{f} && ($#ARGV == -1))) { 490 foreach my $Arg (@ARGV) {
|
/illumos-gate/usr/src/pkg/scripts/ |
H A D | pkglist.awk | 32 e = getline f < ARGV[i] 39 e = getline f < ARGV[i] 44 close(ARGV[i]) 50 print "no fmri in " ARGV[i] >> "/dev/stderr"
|
/illumos-gate/usr/src/cmd/sgs/tools/ |
H A D | readme_revision | 67 while ((scalar(@ARGV) > 0) && ($_ = $ARGV[0],/^-/)) { 82 $cnt = scalar @ARGV; 90 $readme = $ARGV[0];
|
H A D | libconv_mk_report_bufsize.pl | 47 ((scalar(@ARGV) == 1) && (($limit = int($ARGV[0])) > 0)) ||
|
/illumos-gate/usr/src/cmd/xargs/ |
H A D | xargs.c | 103 static char **ARGV = arglist; variable 390 *ARGV++ = addarg(cmdname); /* use the default cmd. */ in main() 413 psave->p_ARGV = ARGV; in main() 417 *ARGV++ = addarg(*mav++); in main() 423 initlist = ARGV; in main() 430 ARGV = initlist; in main() 470 *ARGV++ = arg; in main() 480 if ((ARGV - arglist) == MAXARGS) { in main() 485 *ARGV = NULL; in main() 496 ARGV--; in main() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | cgcc | 22 while (@ARGV) { 23 $_ = shift(@ARGV); 41 die ("$0: missing argument for $_") if !@ARGV; 47 die ("$0: missing argument for $_") if !@ARGV; 48 die ("$0: invalid argument for $_") if $ARGV[0] ne 'c'; 69 $gcc_base_dir = shift @ARGV; 75 $multiarch_dir = shift @ARGV;
|
/illumos-gate/usr/src/cmd/stat/arcstat/ |
H A D | arcstat.pl | 157 if (defined $ARGV[0] && defined $ARGV[1]) { 158 $int = $ARGV[0]; 159 $count = $ARGV[1]; 160 } elsif (defined $ARGV[0]) { 161 $int = $ARGV[0];
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | sbdgenerr.pl | 36 while ($#ARGV >= 0) { 37 $prefix{$ARGV[0]} = 0; 38 shift @ARGV;
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | sbdgenerr.pl | 39 while ($#ARGV >= 0) { 40 $prefix{$ARGV[0]} = 0; 41 shift @ARGV;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/ |
H A D | sbdgenerr.pl | 37 while ($#ARGV >= 0) { 38 $prefix{$ARGV[0]} = 0; 39 shift @ARGV;
|
/illumos-gate/usr/src/cmd/projadd/ |
H A D | projdel.pl | 79 usage(gettext('Invalid command-line arguments')) if (@ARGV != 1); 80 usage(gettext('No project name specified')) if (! defined($ARGV[0])); 82 my $pname = $ARGV[0];
|
H A D | projadd.pl | 103 usage(gettext('Invalid command-line arguments')) if (@ARGV != 1); 104 usage(gettext('No project name specified')) if (! defined($ARGV[0])); 108 $pname = $ARGV[0];
|
/illumos-gate/usr/src/tools/smatch/src/gvpr/ |
H A D | subg-fwd | 20 graph_t sg = subg ($, sprintf("incoming-%s", ARGV[0])); 31 if(g.fun == ARGV[0]) { 40 printf(2, "Function %s not found\n", ARGV[0]);
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | help2man | 76 die $help_info unless @ARGV == 1; 165 join '', map { s/ +$//; expand $_ } `$ARGV[0] --$_ 2>/dev/null` 166 or die "$this_program: can't get `--$_' info from $ARGV[0]\n" 170 (my $program = $ARGV[0]) =~ s!.*/!!;
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | fcall_exit.awk | 12 if (ARGV[1] == 1) { 15 } else if (ARGV[1] == 2) {
|
H A D | fcall_exit2.awk | 12 if (ARGV[2] == 1) { 16 delete ARGV[2]
|
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg_piglatin_nl.pl | 66 die "usage: $script start_index\n" if ($ARGV[0] eq ''); 67 $lineno = int($ARGV[0]);
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | mkmsg.pl | 45 unless ($#ARGV == 1) { 49 my $textDomain = $ARGV[0]; 50 my $poFile = $ARGV[1];
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | SUNW,vdevices.pl | 91 my $rsrc = shift(@ARGV); 122 $cmd = shift(@ARGV);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/ |
H A D | get.ipv4remote.pl | 43 my $tcpport = @ARGV == 1 ? $ARGV[0] : 0;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | builtins.sh | 405 ((n++)); ARGC[$n]=1 ARGV[$n]="" 406 ((n++)); ARGC[$n]=2 ARGV[$n]="-a" 407 ((n++)); ARGC[$n]=4 ARGV[$n]="-a -v 2" 408 ((n++)); ARGC[$n]=4 ARGV[$n]="-a -v 2 x" 409 ((n++)); ARGC[$n]=4 ARGV[$n]="-a -v 2 x y" 411 do set -- ${ARGV[$i]}
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 553 foreach $arg (@ARGV) { 578 find(\&wanted, "$defdir/common") if (scalar(@ARGV) == 0); 579 find(\&wanted, "$defdir/$MACH") if (scalar(@ARGV) == 0); 580 find(\&wanted, "$defdir/$PLATFORM") if (scalar(@ARGV) == 0);
|