简体   繁体   English

带有多个选项卡的xls文件中的UNIX wc -l

[英]UNIX wc -l in a xls file with multiple tabs

I have an xls file, Test.xls in a folder. 我在文件夹中有一个xls文件Test.xls。 It has multiple tabs/worksheets within the spreadsheet. 它在电子表格中具有多个选项卡/工作表。 I'm wondering, is there any way to list the line counts for each worksheet with a wc -l unix command? 我想知道,是否可以使用wc -l unix命令列出每个工作表的行数? I am using Linux. 我正在使用Linux。

Thanks. 谢谢。

No. 没有。

wc only works sensibly on plain text files. wc仅对纯文本文件有效。 You will need to find or create a program that knows how to open a .xls file and process the data contained there-in. 您将需要找到或创建一个程序,该程序知道如何打开.xls文件并处理其中包含的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM