Results 1 - 10 of about 10 results out of about 94398 pages. (0.02 seconds)
- BashFAQ/005 . . . 11 matches
- ...itionally have [[BashGuide/Arrays#Associative_Arrays|Associative Arrays]] (see also [[BashFAQ/006|FAQ 6]]). This article focuses on indexed arrays as they are the most common type...
- BashFAQ/073 . . . 6 matches
- ...ers#Parameter_Expansion|Bash Guide]] includes an introduction for beginners.
* The [[BashFAQ/100|string manipulation tutorial]] is a more in-depth tutorial with additional exampl...
- BashFAQ/067 . . . 5 matches
- ...the default value of IFS).
Here's a solution using [[glob|extglob]] together with [[BashFAQ/073|parameter expansion]]:
{{{
# Bash
shopt -s extglob
x=${x##+([[:space:]]...
- BashFAQ/021 . . . 5 matches
- ...ce content within a variable, this can (and should) be done very simply with Bash's [[BashFAQ/100|parameter expansion]]:
{{{
# Bash
var='some string'
var=${var//some/another}
}}}...
- BashProgramming/02 . . . 10 matches
- ...ledg:~$ TIMEFORMAT='%R %U %S'
wooledg:~$ a="somefile.txt"
wooledg:~$ time for ((i=1; i<=100000; i++)); do [[ $a = a*.txt ]]; done
0.292 0.192 0.100
wooledg:~$ time for ((i=1; i<=1...
- BashGuide/Parameters . . . 9 matches
- ...al/bashref.html#Shell-Variables|Shell Variables]]
----
. '''In the FAQ''': <<BR>> [[BashFAQ/013|How can I concatenate two variables? How do I append a string to a variable?]] <<...
- ReplacingStrings . . . 5 matches
- ...treated as literal.
Parameter expansions like this are discussed in more detail in [[BashFAQ/100|Faq #100]].
=== Streams ===
If it's a file or a stream, things get a little bit...
- BadUtils . . . 5 matches
- ...ernal command?
=== Alternatives ===
The builtins `type`, `command` and `hash`. See [[BashFAQ/081]]
== xargs ==
`xargs` is standard and moderately useful, but it has a number of ...
- 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...