Michelle Konzack wrote:
Am 2008-03-05 13:10:37, schrieb Bob McGowan:Mark Clarkson wrote:On Wed, 05 Mar 2008 12:16:02 -0800 Bob McGowan <bob_mcgowan@symantec.com> wrote:Brian wrote:So can you explain exactly what the first < <( echo "$teststring" ) does exactly please?man bash ----8<------------------------------------------------------------------
### deleted 'here' doc usage ###
The syntax "...< <(command ...)" is *not* a here document. You should refer back to the original discussion for details.
A brief synopsis is: '<(command ...)' will "substitute" the command output into a "named piped", which is then read. Using the second '<', separated by white space, will then redirect input from the named pipe to a builtin command, such as read.
If you take the example command and remove the space between the two less than symbols, you get a syntax error.
-- Bob McGowan
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature