FUNCTION::CMDLINE_AR

Section: Context Functions (3stap)
Updated: May 2014
Index Return to Main Contents
 

NAME

function::cmdline_args - Fetch command line arguments from current process  

SYNOPSIS

    cmdline_args:string(n:long,m:long,delim:string)
 

ARGUMENTS

n

First argument to get (zero is normally the program itself)

m

Last argument to get (or minus one for all arguments after n)

delim

String to use to separate arguments when more than one.
 

DESCRIPTION

Returns arguments from the current process starting with argument number n, up to argument m. If there are less than n arguments, or the arguments cannot be retrieved from the current process, the empty string is returned. If m is smaller than n then all arguments starting from argument n are returned. Argument zero is traditionally the command itself.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 16:52:22 GMT, May 22, 2014