Post #2280768
2025-10-29 20:14 UTC
And if you want to add a little sarcasm into the mix, this script will conditionally replace 'friend' with '"friend"' on lines that mention Dave:
, {
x/Alice/c/Bob/;
x/Bob/c/Alice/;
X g/Dave/ x/friends/ c/"friends"/;
}
This time we end up with:
'Bob and Alice are friends with Claire and
Alice and Bob are "friends" with Dave.'
Replies (0)
No replies.