You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

htmlopen.sh 200 B

1234567891011
  1. #!/bin/sh
  2. # Helps open an HTML file from mutt in a GUI browser without weird side effects.
  3. file=$(mktemp -u --suffix=.html)
  4. rm -f "$file"
  5. cp "$1" "$file"
  6. setsid firefox "$file" >/dev/null 2>&1 &