Event JSON
{
"id": "94b6b9a51180817ee0aa414b8bb96080075f061d0930aa8e0b03b7fe47bcfac5",
"pubkey": "19de6bb53e4860106b7a92e57fbec1cef642164c3ebe0c76eb8ab38c2727672f",
"created_at": 1718282036,
"kind": 1,
"tags": [
[
"p",
"58c346f8f6b6d17f7a07f00ed90502d9382225c61920573518d62824d6907221"
],
[
"e",
"5a820fa2ca8b0e03f65a98863f70eab64094e01b74fad6d4bd7a6658bc12c675",
"",
"root"
],
[
"e",
"f9c735179cc10a46f961a1d2a18639b129fa2b65a7e940730f20616b40bf9070",
"",
"reply"
],
[
"proxy",
"https://hachyderm.io/@simontatham/112609331568426840",
"web"
],
[
"p",
"19de6bb53e4860106b7a92e57fbec1cef642164c3ebe0c76eb8ab38c2727672f"
],
[
"p",
"a071462e960207a7a2272a3f59d042e59623bb2217b56f9365cba21e12213e3e"
],
[
"proxy",
"https://hachyderm.io/users/simontatham/statuses/112609331568426840",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://hachyderm.io/users/simontatham/statuses/112609331568426840",
"pink.momostr"
]
],
"content": "for that I use a tiny utility I wrote called 'reservoir', which reads and buffers input until EOF, then writes it all out again. With the -o option, you can tell it a file to overwrite. So you can do this kind of thing, without depending on your filter tool having an option that works like sed -i:\n\n$arbitrary_filtering_command \u003c filename | reservoir -o filename\n\nhttps://www.chiark.greenend.org.uk/~sgtatham/utils/\nhttps://www.chiark.greenend.org.uk/~sgtatham/utils/reservoir.html",
"sig": "c5e65ec207a84bc39378fe0524b8ef9c54c6eb87414a3905c02ce99f544403bd870aa9801cba1bef8812bbf9168b5ddaf2d9d558eaa6954afd02bc5cb3e082c2"
}