LT command to reduce file size


Version: 2020

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-20688


Labtalk command file -cp is very useful to reduce a huge data file, E.g. a 14G CSV file, you cannot open it anywhere. You can reduce it to a manageable size first. The code is like this

dlgfile g:=*.csv;
file -cp 3Mb fname$;

to reduce it to 3Mb.