Living in the Shell #23; cut (Cut Text/Fields from Text Streams)
cut ✂️
Cuts/extracts text/fields out of text streams.
⚠️ Index values are one-based.
Cut characters on a range -c
echo "Hello World\!\nGoodbye\!" | cut -c2-5
Takes characters at indices 2 through 5.
ello
oodb
Cut characters on a half-limited rang...
babakks.hashnode.dev1 min read