Using sed what is an one liner to print the first n characters? I am doing the following:
sed
grep -G \'defn -test.*\' OctaneFullTest.clj
colrm x
For example, if you need the first 100 characters:
cat file |colrm 101
It's been around for years and is in most linux's and bsd's (freebsd for sure), usually by default. I can't remember ever having to type apt-get install colrm.
apt-get install colrm