On Thu, Dec 28, 2006 at 07:46:53PM +0000, Ian Jackson wrote:

> The exercise is to allow for example what would be achieved in sh with
>    echo ">" not a redirect >filename

Well, it may be a workaround, but:

  tclsh8.4 [~]exec sh -c {echo '>'}
  >
  tclsh8.4 [~]

Works For Me(TM).  :)

For a more sophisticated example:

  tclsh8.4 [~]set a [open {|sh -c "echo '>'"} r]
  file6
  tclsh8.4 [~]set b [read $a]
  >

  tclsh8.4 [~]close $a
  tclsh8.4 [~]puts $b
  >

  tclsh8.4 [~]

I can report the issue upstream, but unless you can find an example
that can't be worked around, I doubt if it will be much of a priority.

cheers
-- 
Chris Waters           |  Pneumonoultra-        osis is too long
[EMAIL PROTECTED]       |  microscopicsilico-    to fit into a single
or [EMAIL PROTECTED] |  volcaniconi-          standalone haiku


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to