FreeBSD Fortune on Nostr: Need to remove all those ^M characters from a DOS file? Try tr -d \\r < dosfile > ...
Need to remove all those ^M characters from a DOS file? Try
tr -d \\r < dosfile > newfile
-- Originally by Dru <genesis@istar.ca>
Published at
2023-09-01 06:31:22Event JSON
{
"id": "dad046c84dd77e09f1adeff7d12a4d64fdbf710d3267fc859e662df83dde7f78",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1693549882,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/110988485123670006",
"activitypub"
]
],
"content": "Need to remove all those ^M characters from a DOS file? Try\n\n\ttr -d \\\\r \u003c dosfile \u003e newfile\n\t\t-- Originally by Dru \u003cgenesis@istar.ca\u003e",
"sig": "0b3f4eb12f1dee9cca5bd50a1cf8fa8da88498e09e31f910e9140becca2e62a38969a18334647d5301a5d4f8f04622a6354f437cc4bd5d13a2806a9ddd480d04"
}