[TxMt] recognition of file type in pipe

Dr Eberhard W Lisse el at lisse.na
Wed Nov 7 12:44:59 UTC 2018


Greetings from the South :-)-O,

I occasionally want to pipe JSON (or XML, or other formats) like

	csvjson file.csv | mate -

It does display the file but as plain text.

How can I make TextMate2 figure this out by itself?  Or from the command
line (mate -t JSON - does no do that)? Or where can I read this up?

greetings, el

-- 
Dr. Eberhard W. Lisse          / Obstetrician & Gynaecologist (Saar)
el at lisse.NA            / *     |   Telephone: +264 81 124 6733 (cell)
PO Box 8421                  /
Bachbrecht, Namibia     ;____/


More information about the textmate mailing list