1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

26029: test for redirection with no preceding whitespace

This commit is contained in:
Peter Stephenson 2008-11-12 10:55:18 +00:00
parent 085419f95d
commit 626286a5f7
2 changed files with 24 additions and 1 deletions

View file

@ -1,10 +1,15 @@
2008-11-12 Peter Stephenson <pws@csr.com>
* 26029: Test/A04redirect.ztst: add test for redirection operators
with no preceding whitespace.
2008-11-11 Oliver Kiddle <opk@zsh.org>
* 26024: Src/Zle/zle_keymap.c: don't leave reference count
incremented when aborting bindkey with an error
2008-11-11 Clint Adams <clint@zsh.org>
preceding
* 26027: Src/Zle/compctl.c: free pprogc before it goes out of
scope in makecomplistflags.

View file

@ -344,3 +344,21 @@
0:Optimised here-string to filename
>This string has been replaced
>by a file containing it.
print This f$'\x69'le contains d$'\x61'ta. >redirfile
print redirection:
cat<redirfile>outfile
print output:
cat outfile
print append:
cat>>outfile<redirfile
print more output:
cat outfile
0:Parsing of redirection operators (no space required before operators)
>redirection:
>output:
>This file contains data.
>append:
>more output:
>This file contains data.
>This file contains data.