view .gnumeric files in mc (in console)

Slava Zanko slavazanko at gmail.com
Wed Aug 31 14:16:47 UTC 2016


Try it:

View=%view{ascii} (TMP_FILE=${MC_TMPDIR}/view.XXXXXXXX; ssconvert
--recalc "%f" -T Gnumeric_stf:stf_assistant ${TMP_FILE} && cat
${TMP_FILE} && rm ${TMP_FILE}) || xls2csv %f || strings %f


>> On 2016-08-31 10:51, Slava Zanko wrote:
>>
>> Hi Fourhundred,
>>
>> Try to use this:
>>
>> View=%view{ascii} ssconvert %f || xls2csv %f || strings %f
>>
> 
> that obviously cannot work
> 
> when run on the commandline, ssconvert needs output file, and possibly
> also --export-type. The following command works for me:
> 
>   ssconvert --export-type=Gnumeric_stf:stf_assistant zzz.gnumeric zzz.txt
> 
> The question is, how to make it work inside mc?
> I don't want the output to go to a file. I want to view it in mc.
> _______________________________________________
> mc mailing list
> https://mail.gnome.org/mailman/listinfo/mc
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20160831/825f6520/attachment.asc>


More information about the mc mailing list