nsopen

来自「excel to html」· 代码 · 共 31 行

TXT
31
字号
#!/bin/shif [ $# != 1 ];then    echo "Usage: $0 file"    exit 1fifile=$1if [ ! -f $file ]then	echo "$0: $file is not a file!"	exit 2fiif [ ! -r $file ]then    echo "$0: File $file cannot be read"    exit 4fi#Try to open file in an existing netscape window(netscape -no-about-splash -remote "openFile(${file})") >& /dev/null#if this fails, it means that netscape is not running, so start itif [ $status ]then  netscape -no-about-splash -no-install file:${file}fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?