nsxlview
来自「excel to html」· 代码 · 共 48 行
TXT
48 行
#!/bin/bashfile=$1if [ "$file"xx == xx ]then echo "Usage: $0 file.doc" exit 1fisource=$1#Generate a unique html filename (/tmp/scriptname.pidnum.html)# should use mkstemp, this is wholly bogus.com=basename $0tmp=/tmp/${com}:t.$$html=${tmp}.htmlxlhtml $source > $htmlif [ ! $? ]then echo "xlhtml failed" exit 4fiif [ ! -s $html ]then echo "$0: failed to generate HTML file" exit 1fi#File exists and is of length > 0, so open itnsopen $html#I do NOT remove the html file so that the user can click#on the "Back" button without generating a "file not found"#error - but uncomment the next line if you want it.if [ "$tmp"zz == zz ];then echo "Aargh: \$tmp was null."else rm ${tmp}*fiexit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?