Recently resurrected a project and updated the latest dependencies. When trying to release via the SCP task in Ant it just hung.
I found that the best combination of Ant and Jsch is for now (Oct 08) to be
Ant 1.7.0 and Jsch 0.1.29.
Remember to put Jsch’s jar file in ant’s lib directory.
In the directory where you have a collection of tar.gz files.
for FILE in $(ls); do tar -zxvf $FILE; done
The other day I was editing a httpd.conf file and wanted to comment a large section. On the server I was using the comment syntax wasn’t setup for these types of files.
So, to quickly accomplish I just needed to set the comment-start variable to “#”.
M-: (setq comment-start "#") RET
If you have a file ‘names.txt’ and want to mail the contents to yourself.
$ mail -s “My subject here” email@example.com < names.txt