Results 1 - 6 of about 6 results out of about 111742 pages. (0.01 seconds)

BashFAQ/006 . . . 2 matches
...want to assign '''a single line''' to the variable, you can use `read` and Bash's [[HereDocument|here string]] syntax: {{{#!highlight bash # Bash/ksh93/mksh/zsh ref=realvariable I...

16.8k - rev: 63 (current) last modified: 2023-04-14 06:52:11

TemplateFiles . . . 1 match
... it in sh, a portable but potentially dangerous alternative involves constructing a HereDocument and feeding the result to a shell for expansion: {{{ { echo "cat <<EOF" cat "$te...

5.3k - rev: 16 (current) last modified: 2021-03-08 08:04:59

Quotes . . . 1 match
...esac }}} === Here Documents === Quote-removal never applies to the contents of a [[HereDocument|here document]] {{{ $ arr=(words in array); cat <<EOF > These are the "${arr[*]}"...

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

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

BashGuideFeedback . . . 1 match
... utilities can be very useful. - [[Lhunath]] Feedback: I could not understand the HereDocument page (found another source that helped) and I think the page could do with working ...

4.9k - rev: 25 (current) last modified: 2013-12-18 02:56:25

BashFAQ/005 . . . 1 match
...e file. Newlines are added to the ends of files by most text editors, and also by [[HereDocument|Here documents]] and [[HereStromg|Here strings]]. Most of the time, this is only an...

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