Oh the power of sed
Here is how to remove the first certain number of characters
sed 's/^.........//' test2 > test3 where each . is a character.
also
cut -c10- test2
one way to cut the back is
rev filename | cut -b 2- | rev
which reverses the file, cuts the first two (which is the back) and then reverses it back
or you can use
cut -b 1-2 --complement bazaar.txt
this cuts from 1 to 2 (or the first two here) so if it was 5-13 it would cut the 5th to the 13th
Thursday, August 21, 2008
Thursday, August 14, 2008
Wednesday, August 13, 2008
Mutt and Mail
I haven't been able to send mail from my computer but I found this tutorial
http://ubuntuforums.org/showthread.php?t=565326
that is for setting up mutt to use your gmail, but it got just the command mail, working too!! I am pretty happy about that.
http://ubuntuforums.org/showthread.php?t=565326
that is for setting up mutt to use your gmail, but it got just the command mail, working too!! I am pretty happy about that.
Subscribe to:
Posts (Atom)