[dev] script for launching surf

From: Greg Reagle <greg.reagle_AT_umbc.edu>
Date: Tue, 03 Mar 2015 14:19:34 -0500

I am presenting this in case you find it interesting, useful, or
instructive, or for any constructive criticism so I can learn more.

Here is the script I use to launch surf called mysurf:

cd ~/downloads
exec surf "$_AT_" 2>>surf-stder >>surf-stdout

I don't launch surf directly because:

I could be in any directory when I start surf and surf sometimes
downloads files that I don't even ask for, so these downloaded files
with random names used to be spread throughout my directory tree when I
invoked surf directly. Now they are all in ~/downloads.

I don't want my tty being polluted with messages from surf, so I save
them all in the same place, in case I ever want to see them (which I
rarely do).

The 'exec' on the last line is because I don't need the shell after I
start surf.

http://www.fastmail.com - Does exactly what it says on the tin
Received on Tue Mar 03 2015 - 20:19:34 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 03 2015 - 20:24:08 CET