bug-bash
[Top][All Lists]
Advanced

[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 2.0.0.19 (X11/20090103)

Hi.

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)?

J.

[1] <df5a1262-09ff-4c97-94e8-83a5a046f706@p36g2000prp.googlegroups.com>




reply via email to

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