Commands pipe
- From: israelu@xxxxxxxxxxx
- Date: 31 Dec 2006 01:57:09 -0800
Want to be able to write
compi {open lines.txt r|read|string trim|split~\n|puts}
instead of
set txt [read [open lines.txt r]]
set lastline [split [string trim $txt] \n]
puts $lastline
?
See http://wiki.tcl.tk/17419
.
- Follow-Ups:
- Re: Commands pipe
- From: Donal K. Fellows
- Re: Commands pipe
- Prev by Date: to enter data into EXCEL ***
- Next by Date: Re: to enter data into EXCEL ***
- Previous by thread: to enter data into EXCEL ***
- Next by thread: Re: Commands pipe
- Index(es):