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
2024-02-05 18:00:37Event JSON
{
"id": "080f23e47d077ddf97ebbf0bcd041a7c9d6a47b33c44797f384677d4de93b9a2",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1707156037,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/111880178062461470",
"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": "1c25bd95dc2b8695746d6d752aa1102b32f53987804cde8bd321ae89dd79d04ce6021fa54cbf5be7e44fbf05ae2758cfd045f2da750488414d9d3a4472b0079f"
}