DrScriptt on Nostr: Why do I need '%s\n' in the following ex command? '%s\n’ ‘%s/old/new/‘ ‘x’ ...
Why do I need '%s\n' in the following ex command?
'%s\n’ ‘%s/old/new/‘ ‘x’ | ex file.ext
What does the '%s\n' bring to the table?
The edit doesn’t work without it.
Published at
2024-04-02 22:15:02Event JSON
{
"id": "fdf4e5ed27cc28a2df202015aa0d992e3160eb0682e719b82f3d63112d8436c3",
"pubkey": "f41951dfe9af2415750eb8291e412dfffb7221a7bb7348aee4756155fb5d280a",
"created_at": 1712096102,
"kind": 1,
"tags": [
[
"proxy",
"https://oldbytes.space/users/drscriptt/statuses/112203930151194891",
"activitypub"
]
],
"content": "Why do I need '%s\\n' in the following ex command?\n\n'%s\\n’ ‘%s/old/new/‘ ‘x’ | ex file.ext\n\nWhat does the '%s\\n' bring to the table?\n\nThe edit doesn’t work without it.",
"sig": "b8f5e0326c34fb59beb24d80abdd07d07677c39d967e68ccc88794b26bc514ead9ff750ab8fea86e337407d8354896c4afa93ea7be7ba21038e7a962b26b40df"
}