File: html-browser

package info (click to toggle)
gcin 2.8.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,908 kB
  • ctags: 4,172
  • sloc: cpp: 30,707; ansic: 9,219; makefile: 626; sh: 518
file content (15 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

for i in google-chrome firefox mozilla-firefox mozilla konqueror
do
  which $i >& /dev/null
  if [ $? = 0 ]; then
    UTF8ED=$i
    break
  fi
done

export LC_CTYPE=zh_TW.UTF-8
export LC_ALL=zh_TW.UTF-8

$UTF8ED $1 &