|
|
Subscribe / Log in / New account

note the consistent user interface

note the consistent user interface

Posted Jan 3, 2012 8:09 UTC (Tue) by rsidd (subscriber, #2582)
In reply to: note the consistent user interface by tnoo
Parent article: GNU ed 1.6 released

Source code for ed:

while :;do read x;echo \?;done

(from here)


to post comments

note the consistent user interface

Posted Jan 4, 2012 11:15 UTC (Wed) by tnoo (subscriber, #20427) [Link]

this still breaks on ^C. The source code must be more complex, maybe like this:

trap "" SIGINT;while :;do read x;echo \?;done


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds