Lea Verou on Nostr: Yesterday I had to perform the same regex file & replace on a bunch of files for the ...
Yesterday I had to perform the same regex file & replace on a bunch of files for the Nth time and it finally pushed me over the edge to make something I’ve wanted to make for years:
A simple syntax for writing sequences of find & replace operations as "scripts" you can apply to different files.
But I’m really struggling to figure out a good name. Help?
Looking for something short (ideally 4-5 chars).
Keywords: find, replace, transform, shell, script, batch
Published at
2024-07-04 09:35:59Event JSON
{
"id": "7124e406a6adf6f944a9f6dc88b7c5a00b16e8fcb1753700211c7af9e3a5ec89",
"pubkey": "effca4793b2710c9d391f2af243fc7228b446437e13c605b2ee931d03319336f",
"created_at": 1720085759,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/@leaverou/112727540356128899",
"web"
],
[
"proxy",
"https://front-end.social/users/leaverou/statuses/112727540356128899",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://front-end.social/users/leaverou/statuses/112727540356128899",
"pink.momostr"
],
[
"expiration",
"1722685513"
]
],
"content": "Yesterday I had to perform the same regex file \u0026 replace on a bunch of files for the Nth time and it finally pushed me over the edge to make something I’ve wanted to make for years:\n\nA simple syntax for writing sequences of find \u0026 replace operations as \"scripts\" you can apply to different files.\n\nBut I’m really struggling to figure out a good name. Help?\n\nLooking for something short (ideally 4-5 chars).\nKeywords: find, replace, transform, shell, script, batch",
"sig": "880f4c9c2612ba31b449c086732db2cc783626306f26b4b36b56219b5ba0a9afa09a566fc8cbf85f0764021b27a934cd99b5eabee5e9d12f2aa1369eed213b5e"
}