msexcel.sum
来自「harvest是一个下载html网页得机器人」· SUM 代码 · 共 27 行
SUM
27 行
#!/bin/sh## MSExcel.sum - Summarizes Microsoft Excel files.## Use xls2csv and take first 6000 lines of text.#xls2csv -s koi8-r -d koi8-r $1 | fmt -s -w 160 | head -n 6000 | wrapit "Partial-Text"exit 0## Alternatively, create a html format file from the input, then# pass that filename to the html summarizer.#if test -z "$TMPDIR"; then TMPDIR="/tmp"fiif test ! -r "$1"; then echo "MSExcel.sum: Cannot read file: $1" 1>&2 exit 1fitfile="$TMPDIR/xlhtml.$$.html"xlhtml $1 > $tfile 2> /dev/nullHTML.sum $tfilerm -f $tfileexit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?