Results 1 - 8 of about 8 results out of about 106961 pages. (0.06 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/050 . . . 9 matches
- ...ant to pass options if the runtime data needs them ===
You can use the `${var:+..}` [[BashFAQ/073|parameter expansion]] for this:
{{{
ping -q ${count:+"-c$count"} -- "$HOSTNAME"
...
- BashFAQ/047 . . . 6 matches
- ...err_reader
}}}
For further explanation of how redirections and pipes interact, see [[BashFAQ/055|FAQ #55]].
This has an obvious application with programs like {{{dialog}}}, whic...
- BashFAQ/044 . . . 5 matches
- ...cho $((100*(++i)/n))
done
)
}}}
Here's an explanation of what it's doing:
* An [[BashFAQ/005|array]] named {{{files}}} is populated with all the files we want to process.
* ...
- BashFAQ/055 . . . 4 matches
- ...s when we really do want {{{2>&1}}} to appear first -- for one example of this, see [[BashFAQ/040|FAQ #40]].
There are other times when we may use {{{2>&1}}} without any other re...
- BashFAQ/115 . . . 3 matches
- ...u want your own look and feel, you can simply write a menu yourself. There is also [[BashFAQ/040|dialog]], which we won't cover on this page.
=== Using select ===
To use `select...
- BashGuide/InputAndOutput . . . 14 matches
- ...e each one is encapsulated as a word, ready to go.'''
----
. '''In the FAQ: <<BR>> [[BashFAQ/035|How can I handle command-line arguments (options) to my script easily?]]'''
-----...
- 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...