Skip to content

Create examples/replace.jou#1369

Merged
Akuli merged 3 commits into
mainfrom
replace
May 2, 2026
Merged

Create examples/replace.jou#1369
Akuli merged 3 commits into
mainfrom
replace

Conversation

@Akuli
Copy link
Copy Markdown
Owner

@Akuli Akuli commented May 1, 2026

replace old new file is basically sed -i s/old/new/g file, except that it has no regular expressions, so I don't need to worry about escaping strings.

There are plenty of existing tools that do exactly this (sd -s is very close), but by making my own I also get a nice example program for Jou.

@Akuli Akuli merged commit 421a754 into main May 2, 2026
28 checks passed
@Akuli Akuli deleted the replace branch May 2, 2026 17:59
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

Successfully merging this pull request may close these issues.

1 participant