change default behavior of 'read' builtin in ash
egor duda
deo@logos-m.ru
Fri Oct 26 05:51:00 GMT 2001
Hi!
currently 'read' builtin in ash requires -e option to make it treat
backslashes as escapes. current BSD ash and SUSv2 do this by default
and use -r option to turn this special treatment off. patch attached.
after this patch, libiberty testsuite passes all test on cygwin :)
egor. mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
ash-read-r.ChangeLog
ash-read-r.diff
-------------- next part --------------
2001-10-26 Egor Duda <deo@logos-m.ru>
* miscbltin.c (readcmd): Change default mode to process backslashes
as escapes. Use '-r' option to switch to "raw" mode. '-e' option
is now ignored.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ash-read-r.diff
Type: text/x-diff
Size: 1386 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20011026/6f137592/attachment.bin>
More information about the Cygwin-apps
mailing list