Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Acme: Edit breaks input text unpredictably #685

Open
spektrokalter opened this issue Oct 1, 2024 · 0 comments
Open

Bug: Acme: Edit breaks input text unpredictably #685

spektrokalter opened this issue Oct 1, 2024 · 0 comments

Comments

@spektrokalter
Copy link

spektrokalter commented Oct 1, 2024

Steps to reproduce the problem

Open an empty window and put the following text into its body:

lee, bruce
chan, jackie
li, jet
yen, donnie
yeoh, michelle

Put either of the following two commands into the window's tag and run it:

Edit , x/[a-z]*/ g/./ -#0+/./ |tr a-z A-Z
Edit , x/[a-z]+/ -#0+/./ |tr a-z A-Z

Their expected purpose is to capitalize the first character of each word.

Sometimes it works as expected, sometimes the first character is lost. Run the command multiple times to see if it breaks.

When it breaks, Acme does not print "warning: changes out of sequence".

Both commands always work as expected in Sam.

plan9port version

a2567fc

OS version

macOS 14.5 (23F79)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant