FreeBSD Fortune on Nostr: In order to search for a string in some files, use 'grep' like this: grep "string" ...
In order to search for a string in some files, use 'grep' like this:
grep "string" filename1 [filename2 filename3 ...]
This will print out the lines in the files that contain the string. grep can
also do a lot more advanced searches - type 'man grep' for details.
Published at
2024-09-18 17:00:43Event JSON
{
"id": "d53514076625b32147e45c9fe7e8d16299df09832467d8591bce65e43a8742fc",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1726678843,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/113159624675033417",
"activitypub"
]
],
"content": "In order to search for a string in some files, use 'grep' like this:\n\n\t grep \"string\" filename1 [filename2 filename3 ...]\n\nThis will print out the lines in the files that contain the string. grep can\nalso do a lot more advanced searches - type 'man grep' for details.",
"sig": "3cf727d1f6cfb894f492ed02760ca565aaa4263ad327c6105bdc7c611796c89d16c37070e28cb9cb6c9dcd1e0a6d7b18b0655e2cc2115869ee78246265ec5700"
}