[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The colon

From: Jan Schampera
Subject: The colon
Date: Mon, 26 Jan 2009 07:13:32 +0100
User-agent: Mozilla-Thunderbird (X11/20090103)


In comp.unix.shell [1] somebody wondered about
  IFS=: read a b <<< a:b; echo "'$a' '$b'"
ending up in
  'a b' ''

Korn and Z seem to behave different. I see that across all my available
Bash versions. I remember the colon to be special in some way (was it
hostnames in a file path?), but I don't know.

If this is intended behaviour, can you tell me why (it's gone with
quoting/escaping, of course)?


[1] <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]