What is Nostr?
Command Line Magic /
npub17hc…tk0h
2024-09-24 14:40:01

Command Line Magic on Nostr: Add some spice to your text by randomly coloring each word in a text file. head -n30 ...

Add some spice to your text by randomly coloring each word in a text file.

head -n30 cat_haiku.txt | awk 'BEGIN{srand()} RS=" " {c=int(rand()*200)+32;printf "\033[38;5;" c "m" $0 "\033[0m "}'

Author Public Key
npub17hcswhel45t4tnh3a7gzf4f74lfyafrq8qe3nlaejj0nk63umcdqcxtk0h