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
don't have to use grep either
an example:
sed -n '/searchwords/{s/^\(.\{12\}\).*/\1/g;p}' file