Shell - (Word | Token | Field)

Card Puncher Data Processing

Shell - (Word | Token | Field)

About

In a bash pipeline, the pipeline message is known as:

  • the word
  • the field

This is a sequence of characters considered as a single unit by the shell.

The first message is the standard input.

Word and Field Differences:

  • Word: Bash takes a command line and splits it into word
  • Field: IFS

Modification

Expansion

With the following expansion, you can change the number of words of the expansion;

The only exceptions are the expansions of:

Command

The read command can split an input into line or word.





Discover More
Bash Liste Des Attaques Ovh
Bash - (Argument|Positional Parameter)

An argument is a parameter given: to a command to a function or to the bash shell They are referenced by position. A positional parameter is a parameter denoted: by one or more digits, ...
Bash Liste Des Attaques Ovh
Bash - (Builtin|Intern|System|Reserved|Shell) variable name

Reserved variable name are named that have a special meaning for the bash shell. PS1 defines the shell's command-line prompt. HOME defines the home directory for a user. PATH defines a list...
Bash Liste Des Attaques Ovh
Bash - (Environment) Variable

A variable is a parameters referenced by a name. parameter A variable has: a value and zero or more attributes (such as integer, ...). Attributes are assigned using the declare builtin command....
Bash Liste Des Attaques Ovh
Bash - (Name|Identifier)

A word consisting only of alphanumeric characters andunderscores, and beginning with an alphabetic character or an underscore. Also referred to as an identifier. A name identify: a variable ...
Bash Liste Des Attaques Ovh
Bash - Case

The case control statement execute commands based on regular expression pattern matching. Initscript example: Selectively execute COMMANDS based upon WORD matching glob PATTERN. The | is used to...
Bash Liste Des Attaques Ovh
Bash - Comment

in bash Multiline In a non-interactive shell, or an interactive shell in which the interactive_comments...
Bash Liste Des Attaques Ovh
Bash - Expansion

This article is expansion in Bash. An expansion is the replacement of a special token in your code by the result of the expansion during code execution. It's performed on the command line after it has...
Bash Liste Des Attaques Ovh
Bash - IFS (Field Separator)

The field separator is a set of character that defines one or more field separator that separates (delimit) field (word) in a string. DELIM It's defined in the IFS variable parameters statement...
Bash Liste Des Attaques Ovh
Bash - Quoting

$, ‘, “, \, or . A double quote may be quoted within double quotes by preceding it with a backslash. If enabled, history expansion will be performed unless an ! appearing in double quotes is...
Bash Liste Des Attaques Ovh
Bash - Tilde (~) Expansion

The tilde expansion replaces the tilde with a path value which is dependent of the syntax. If the tilde expansion fails, the word is unchanged. If a word begins with an unquoted tilde character (~),...



Share this page:
Follow us:
Task Runner