antiexcel

来自「Excel reader library with source code」· 代码 · 共 36 行

TXT
36
字号
#!/bin/bashpth=~/binif [ "$1" == "" ]; then    cat <<DONE    Excel file viewer for text console    USAGE: 	    $0 FileName    AUTHOR:	    Peter Borkuti, 2003. 01DONEexit 0fi;# The place of the csv fileTMPFILE=`mktemp`if [ $? -ne 0 ];then    echo "I cant create temporary file"    exit 0fi;# Make a ';' delimited csv file from the input $pth/antiexcel-parse.pl $1 > $TMPFILE$pth/csvviewer $TMPFILE |\# BEGIN filters  <-- Put your own postfilters here# Windows's Long Hyphens into minus signs tr '\226' '-' |\# END filters# -S -  Dont break long linesless -Srm -f $TMPFILE

⌨️ 快捷键说明

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