args(1)

args1

Manipulate and output command arguments.

Usage

args [options] args ...

Overview

This command is used to manipulate and echo command line arguments to standard out. This can include adding quotes around each argument passed or a separator, or to output each argument on a separate line. The program source also offers a basic example of how to use shell argument parsing and localization in ucommon.

Options

--delim=char

Set a deliminator character, such as ',', to use between each argument when outputting arguments.

--directory

If argument is a directory, list directory contents as arguments.

--follow

If argument is a directory and a symlink, follow symlinks recursively.

--lines

Output each argument on a separate line.

--quote=char|pair

Set a quote or special leading and trailing pair of characters to surround each argument with when output. A typical use might be --quote=() to surround arguments in parenthesis.

--recursive

If argument is a directory, recursively scan directory and any subdirectory contents as arguments.

--reverse

Reverse order of arguments.

--help

Outputs help screen for the user.

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–11
  4. 12–13

Author

args was written by David Sugar <[email protected]>.

Reporting bugs

Report bugs to [email protected] or [email protected].

From ucommon-utils 7.0.1-0.4+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.