effective-shell | Text , samples and website for my 'Effective Shell ' series | Runtime Evironment library
kandi X-RAY | effective-shell Summary
kandi X-RAY | effective-shell Summary
This repository contains all of the content for the Effective Shell online book.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of effective-shell
effective-shell Key Features
effective-shell Examples and Code Snippets
Community Discussions
Trending Discussions on effective-shell
QUESTION
I know that when you use a for loop in Bash, the items that you loop through are separated using the $IFS
variable.
However, if I run the following commands, I correctly show the two files I have created - even though they have spaces:
...ANSWER
Answered 2021-May-22 at 12:55
- Am I correct that wildcard expansion results in a set of strings that contain escaped special characters
No. There is no need for the shell to escape special characters at that point, because filename expansion is the last word expansion to be performed; strings resulting from it are not subjected to word splitting or any other expansion; they stay as-is. This is documented in the manual as follows:
The order of expansions is: brace expansion; tilde expansion, parameter and variable expansion, arithmetic expansion, and command substitution (done in a left-to-right fashion); word splitting; and filename expansion.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install effective-shell
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page