Event JSON
{
"id": "d229bb9f00cacf9e59f6eb9c8033e70a17e148681d0cac3d8fb485a7fe833eba",
"pubkey": "0bcb4fea58ca0749444278a4850b964fba08d7aee656cb583838bc703bec7759",
"created_at": 1720360229,
"kind": 1,
"tags": [
[
"t",
"tabs"
],
[
"t",
"terminal"
],
[
"t",
"spaces"
],
[
"proxy",
"https://mastodon.ar.al/@aral/112745528010941711",
"web"
],
[
"t",
"linux"
],
[
"t",
"dev"
],
[
"proxy",
"https://mastodon.ar.al/users/aral/statuses/112745528010941711",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.ar.al/users/aral/statuses/112745528010941711",
"pink.momostr"
],
[
"expiration",
"1722952276"
]
],
"content": "You’re on a linux-y machine and you want to convert tabs in a file to spaces (say, two) and your editor doesn’t support that (hello, Helix 👀):\n\nexpand my.file -t 2 \u003e my.file.tmp \u0026\u0026 rm my.file.tmp \u0026\u0026 mv my.file.tmp my.file\n\n(Updated as original version just deletes the original file.) 🤦♂️ \n\n#linux #terminal #tabs #spaces #dev",
"sig": "613e42dcd4f449f2cd7a019df1da44911221625a6f8d3e824aa4a6bec180903e7835a9dfe1b20444f97278dd9bfd7c93462f49d35dd01477889b30fb9152f54d"
}