diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-01-26 08:52:23 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-01-26 08:52:23 -0800 |
commit | fb9f3a3a46a40dff1122c1410291a0eaf3353331 (patch) | |
tree | 986d721b6725ab52831bc8c2e7c8f7fbd024d079 /RELNOTES | |
parent | 6899c7cd2b6890acd8ef86f4f2301708c6f59c1d (diff) | |
download | txr-fb9f3a3a46a40dff1122c1410291a0eaf3353331.tar.gz txr-fb9f3a3a46a40dff1122c1410291a0eaf3353331.tar.bz2 txr-fb9f3a3a46a40dff1122c1410291a0eaf3353331.zip |
awk macro: provide name of current input via fname.
* share/txr/stdlib/awk.tl (sys:awk-state): New slot, file-name.
(sys:awk-state loop): Set file-name from current input name,
or else from the stream name property if the current input
is a stream object.
(sys:awk-mac-let): New awk macro, fname.
* txr.1: Documented fname.
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions