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-03-07 18:00:50Event JSON
{
"id": "d58df6a577e03be73773e3d4bca47ee7b013a3ee04dab7f9d0c25bedf86cb449",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1709834450,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/112055710540394615",
"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": "2788cdf66880eed1fd9c15a7ac5394b485d44507efc803de1a3613b358e3838f55a3c920950681b9c60df8a59902820e950919f03a11186a6756c093bc405763"
}