Results 1 - 19 of about 19 results out of about 94206 pages. (0.03 seconds)

BashPitfalls . . . 6 matches
...ontains whitespace (or any character in the current value of `$IFS`), it undergoes WordSplitting. Assuming we have a file named `01 - Don't Eat the Yellow Snow.mp3` in the curren...

86.2k - rev: 572 (current) last modified: 2024-04-04 23:09:24

IFS . . . 3 matches
...o variable names to `read` suppresses IFS whitespace trimming. * When performing WordSplitting on an unquoted expansion, `IFS` is used to split the value of the expansion into m...

6.4k - rev: 6 (current) last modified: 2023-05-22 10:17:31

BashGuide/Practices . . . 2 matches
...sake, '''"Use more quotes!"''' Protect your strings and parameter expansions from WordSplitting. Word splitting will eat your babies if you don't quote things properly. * Lear...

30.2k - rev: 61 (current) last modified: 2023-06-12 00:57:43

BashFAQ/100 . . . 2 matches
...e sort of command. Also, the results of an unquoted parameter expansion will be [[WordSplitting|split into multiple words]] and [[glob|expanded into filenames]], which we general...

24.3k - rev: 47 (current) last modified: 2023-06-26 10:03:19

BashFAQ/005 . . . 2 matches
... same way as the arguments to a command, including [[glob|pathname expansion]] and WordSplitting. Any type of expansion or substitution may be used. All the usual [[Quotes|quoting...

19.7k - rev: 77 (current) last modified: 2023-03-25 22:39:06

Arguments . . . 2 matches
...n intuitive way for us to communicate with the system. It uses techniques such as WordSplitting and english keywords to allow us to express our wishes in a language that closely ...

17.5k - rev: 29 (current) last modified: 2020-07-06 20:52:07

glob . . . 1 match
...the output of {{{ls}}} is filtered, and then the result of the whole pipeline is [[WordSplitting|divided into words]], to serve as iterative values for the loop. This word-splitt...

17.3k - rev: 59 (current) last modified: 2022-10-13 13:52:20

ShellHallOfShame/Page2 . . . 1 match
...`ls` to enumerate the contents of each one, shoving it all through `sort -u`, then WordSplitting the result of that and hoping it's still filenames. Well, sure, if you control al...

25.9k - rev: 2 (current) last modified: 2015-01-28 21:57:27

ShellHallOfShame . . . 1 match
...er into a single string, with a single space between them. And then the shell's [[WordSplitting|word splitting]] is used to divide the filenames apart. If a filename already con...

4.4k - rev: 8 (current) last modified: 2010-04-28 16:28:19

Quotes . . . 1 match
...gnore glob pattern characters === '''The second purpose of quoting is to prevent [[WordSplitting|word splitting]] and [[glob|globbing]].''' The result of a double-quoted substitu...

10.9k - rev: 32 (current) last modified: 2024-03-07 22:57:49

CommandSubstitution . . . 1 match
...}}} As with all substitutions, the results of a command substitution will undergo WordSplitting, unless the whole thing is inside [[Quotes|double quotes]]. Command substitutions...

3.7k - rev: 11 (current) last modified: 2015-11-12 10:59:10

CategoryShell . . . 1 match
...##master-page:CategoryTemplate ##master-date:Unknown-Date #format wiki #language en These pages discuss issues associated with the Unix command line shells, especially bash, but a...

0.6k - rev: 2 (current) last modified: 2009-03-11 17:10:59

BashGuide/CommandsAndArguments . . . 1 match
...ed: {{{ $ [ -f "my file" ] }}} Have a good look at [[Arguments]], [[Quotes]], and WordSplitting if all this isn't very clear yet. It is important to have a good grasp of how the...

20.8k - rev: 126 (current) last modified: 2023-06-20 18:36:11

BashGuide/Arrays . . . 1 match
...icely '''quoted'''! If you don't keep `${arrayname[*]}` quoted, once again Bash's WordSplitting will cut it into bits. You can combine `IFS` with `"${arrayname[*]}"` to indicate...

24.6k - rev: 45 (current) last modified: 2021-10-23 00:18:04

BashFAQ/096 . . . 1 match
... -O> }}} The shell on the remote host will re-parse the argument, break it into [[WordSplitting|words]], and then execute it. The first problem with this approach is that it's t...

5.1k - rev: 10 (current) last modified: 2020-03-10 20:44:49

BashFAQ/073 . . . 1 match
...d. See ArithmeticExpression. Quoting is not needed in variable assignment, since WordSplitting does not occur. On the other hand, variables referenced inside a parameter expa...

12.0k - rev: 53 (current) last modified: 2023-06-24 09:33:51

BashFAQ/050 . . . 1 match
...]]; then args+=" -s '$subject'"; fi mail $args < "$body" }}} This fails because of WordSplitting and because the single quotes inside the variable are literal, not syntactical. I...

11.6k - rev: 61 (current) last modified: 2024-04-15 23:48:57

BashFAQ/031 . . . 1 match
...file is not a setuid file"}}} || But there are more subtle differences. * No WordSplitting or [[glob]] expansion will be done for {{{[[}}} (and therefore many arguments need...

10.5k - rev: 51 (current) last modified: 2022-05-09 13:49:40

BashFAQ/020 . . . 1 match
...er Expansions]] using double quotes'''. If you don't, the expansion will undergo WordSplitting (see also [[BashGuide/CommandsAndArguments#Argument_Splitting|argument splitting]]...

4.3k - rev: 39 (current) last modified: 2016-03-06 16:39:47