encyclopegia.org

Input Field Separators

For many command line interpreters (“shell”) of Unix operating systems, the input field separators or internal field separators or shell variable holds characters used to separate text into tokens.[src] The value of , (in the bash shell) typically includes the space, tab, and the newline characters by default.[src] These whitespace characters can be visualized by issuing the "declare" command in the bash shell or printing with commands like printf %s "$IFS" | od -c , printf "%q\n" "$IFS" or printf %s "$IFS" | cat -A (the latter two commands being only available in some shells and on some systems).[src] From the Bash, version 4 man page: The shell treats each character of as a delimiter, and splits the results of the other expansions into words on these characters.[src] If is unset, or its value is exactly , the default, then sequences of , , and at the beginning and end of the results of the previous expansions are ignored, and any sequence of characters not at the beginning or end serves to delimit words.[src] If has a value other than the default, then sequences of the whitespace characters and are ignored at the beginning and end of the word, as long as the whitespace character is in the value of (an whitespace character).[src] Any character in that is not whitespace, along with any adjacent whitespace characters, delimits a field.[src] A sequence of whitespace characters is also treated as a delimiter.…[src]

For many command line interpreters (“shell”) of Unix operating systems, the input field separators or internal field separators or shell variable holds characters used to separate text into tokens.[src] The value of , (in the bash shell) typically includes the space, tab, and the newline characters by default.[src] These whitespace characters can be visualized by issuing the "declare" command in the bash shell or printing with commands like printf %s "$IFS" | od -c , printf "%q\n" "$IFS" or printf %s "$IFS" | cat -A (the latter two commands being only available in some shells and on some systems).[src] From the Bash, version 4 man page: The shell treats each character of as a delimiter, and splits the results of the other expansions into words on these characters.[src] If is unset, or its value is exactly , the default, then sequences of , , and at the beginning and end of the results of the previous expansions are ignored, and any sequence of characters not at the beginning or end serves to delimit words.[src] If has a value other than the default, then sequences of the whitespace characters and are ignored at the beginning and end of the word, as long as the whitespace character is in the value of (an whitespace character).[src] Any character in that is not whitespace, along with any adjacent whitespace characters, delimits a field.[src] A sequence of whitespace characters is also treated as a delimiter.[src] If the value of is null, no word splitting occurs.[src] ==References==[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Input Field Separators." encyclopegia.org, 2026, https://encyclopegia.org/wiki/input-field-separators. Accessed 25 November 2026.

Chicago

"Input Field Separators." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/input-field-separators.

APA

encyclopegia.org. (2026). Input Field Separators. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/input-field-separators

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

field hockey

stub · references available

Field Spaniel

stub · references available

field army

stub · references available

field hockey at the 2006 Asian Games

stub · references available

field-effect transistor

stub · references available

field hockey at the 2002 Asian Games

stub · references available

depth of field

stub · references available

Astrobiology Field Laboratory

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374194940 · 0.5 · snapshot enwiki-001374194940

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.