Searched refs:ARGV (Results 1 - 25 of 54) sorted by relevance

123

/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/cmd/sgs/tools/
H A Dlint_hdr.pl69 die $usage if (scalar(@ARGV) == 0);
70 while ($_ = $ARGV[0],/^-/) {
83 $argc = scalar(@ARGV);
85 $target = $ARGV[0];
86 $elfclass = ($argc == 2) ? "Elf$ARGV[1] - " : '';
/illumos-gate/usr/src/cmd/sgs/packages/common/
H A Dreadme_revision70 while ((scalar(@ARGV) > 0) && ($_ = $ARGV[0],/^-/)) {
85 $cnt = scalar @ARGV;
93 $readme = $ARGV[0];
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A DSUNW,vdevices.pl93 my $rsrc = shift(@ARGV);
124 $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/lib/cfgadm_plugins/sbd/
H A Dsbdgenerr.pl39 while ($#ARGV >= 0) {
40 $prefix{$ARGV[0]} = 0;
41 shift @ARGV;
/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/tools/scripts/
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 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 Dgenoffsets.pl118 usage() if (@ARGV < 1);
125 my ($cc, @cflags) = @ARGV;
H A Dfind_elf.pl323 @SaveArgv = @ARGV;
324 if ((getopts('afrs', \%opt) == 0) || (scalar(@ARGV) != 1)) {
338 my $Arg = $ARGV[0];
/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/cmd/svc/profile/
H A Dlistsvcs.pl53 for my $file (@ARGV) {
/illumos-gate/usr/src/tools/depcheck/
H A Dmake_pkg_db68 while (@ARGV) {
69 $arg = shift (@ARGV);
74 while (($ARGV[0] !~ /^-/) && (@ARGV)){
75 push (@IFiles, shift(@ARGV));
78 $DBDir = shift(@ARGV) unless ($ARGV[0] =~ /^-/);
80 $PKGDefs = shift(@ARGV) unless ($ARGV[0] =~ /^-/);
H A Dget_depend_info91 while (@ARGV) {
92 $arg = shift (@ARGV);
97 $DBDir = shift(@ARGV) unless ($ARGV[0] =~ /^-/);
110 $PKGName = shift(@ARGV) unless ($ARGV[0] =~ /^-/);
112 $Root = shift(@ARGV) unless ($ARGV[0] =~ /^-/);
/illumos-gate/usr/src/cmd/xargs/
H A Dxargs.c100 static char **ARGV = arglist; variable
346 *ARGV++ = addarg(cmdname); /* use the default cmd. */
369 psave->p_ARGV = ARGV;
373 *ARGV++ = addarg(*mav++);
379 initlist = ARGV;
386 ARGV = initlist;
425 *ARGV++ = arg;
435 if ((ARGV - arglist) == MAXARGS) {
440 *ARGV = NULL;
451 ARGV
[all...]
/illumos-gate/usr/src/lib/libc/
H A Dextract-copyright.pl102 foreach $a (@ARGV) {
/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/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/cmd/dtrace/demo/
H A Dmkdemo.pl223 if (basename($ARGV[0]) ne "$htmlfile") {
224 demo_find(basename($ARGV[0]));
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Detrn.pl53 my $server = shift(@ARGV);
54 my @hosts = @ARGV;
/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);
H A Ddstyle.pl226 foreach $arg (@ARGV) {

Completed in 160 milliseconds

123