Ben Evans on Nostr: Random #unix / #linux question - why does this: `grep -n '__' foo` NOT find lines ...
Random #unix / #linux question - why does this: `grep -n '__' foo` NOT find lines like: "____" ?
I've tried all sorts of escaping shenanigans but to no avail. Halp?
Published at
2024-03-03 17:45:03Event JSON
{
"id": "b17270665be06f1835adc6a32292a37f174fcd1e060b453a5981087028ee0b6e",
"pubkey": "e780dfc7f1fe58b31b0ca8d26d5f5bcb2e610fe70d8eb0db1594d4bf8a9db5ec",
"created_at": 1709487903,
"kind": 1,
"tags": [
[
"t",
"unix"
],
[
"t",
"linux"
],
[
"proxy",
"https://mastodon.social/users/kittylyst/statuses/112032999274388556",
"activitypub"
]
],
"content": "Random #unix / #linux question - why does this: `grep -n '__' foo` NOT find lines like: \"____\" ?\n\nI've tried all sorts of escaping shenanigans but to no avail. Halp?",
"sig": "f10edcac6b261715e64f7fda99b401db74b390d96d914d4e0355dc8a6f69b6efc685a72749d1bc63b3d8723bd4564932e200633472cf4e79427c0bacf83ed48f"
}