Home
last modified time | relevance | path

Searched refs:ARGV (Results 1 – 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/tools/scripts/
H A Dwdiff.pl38 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 Dvalidate_flg.pl137 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 Dvalidate_paths.pl135 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 Dinterface_check.pl416 @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 Dpkglist.awk32 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 Dreadme_revision67 while ((scalar(@ARGV) > 0) && ($_ = $ARGV[0],/^-/)) {
82 $cnt = scalar @ARGV;
90 $readme = $ARGV[0];
H A Dlibconv_mk_report_bufsize.pl47 ((scalar(@ARGV) == 1) && (($limit = int($ARGV[0])) > 0)) ||
/illumos-gate/usr/src/tools/smatch/src/
H A Dcgcc22 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/xargs/
H A Dxargs.c103 static char **ARGV = arglist; variable
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()
485 *ARGV = NULL; in main()
496 ARGV--; in main()
504 *ARGV = NULL; in main()
512 for (ARGV = arglist; *ARGV != NULL; ARGV++) { in main()
[all …]
/illumos-gate/usr/src/cmd/stat/arcstat/
H A Darcstat.pl157 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 Dsbdgenerr.pl36 while ($#ARGV >= 0) {
37 $prefix{$ARGV[0]} = 0;
38 shift @ARGV;
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Dsbdgenerr.pl39 while ($#ARGV >= 0) {
40 $prefix{$ARGV[0]} = 0;
41 shift @ARGV;
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/
H A Dsbdgenerr.pl37 while ($#ARGV >= 0) {
38 $prefix{$ARGV[0]} = 0;
39 shift @ARGV;
/illumos-gate/usr/src/cmd/projadd/
H A Dprojdel.pl79 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 Dprojadd.pl103 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/test/util-tests/tests/awk/gnu/
H A Dfcall_exit.awk12 if (ARGV[1] == 1) {
15 } else if (ARGV[1] == 2) {
H A Dfcall_exit2.awk12 if (ARGV[2] == 1) {
16 delete ARGV[2]
/illumos-gate/usr/src/tools/smatch/src/gvpr/
H A Dsubg-fwd20 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/cmd/sgs/tools/common/
H A Dsgsmsg_piglatin_nl.pl66 die "usage: $script start_index\n" if ($ARGV[0] eq '');
67 $lineno = int($ARGV[0]);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dhelp2man76 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/cmd/auditrecord/
H A Dmkmsg.pl45 unless ($#ARGV == 1) {
49 my $textDomain = $ARGV[0];
50 my $poFile = $ARGV[1];
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A DSUNW,vdevices.pl91 my $rsrc = shift(@ARGV);
122 $cmd = shift(@ARGV);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/
H A Dget.ipv4remote.pl43 my $tcpport = @ARGV == 1 ? $ARGV[0] : 0;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dbuiltins.sh405 ((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 Ddtest.pl553 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);

123