Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1868

Using XSORT in a pipe with no options TCC/TCC-RT

$
0
0
There isn't any reason to use XSORT if you're not providing any options.
Ref: XSort and STDOUT

XSORT works differently in TCC versus TCC-RT.

In TCC,
you cannot run XSORT with a pipe,
unless you include an XSORT option.

In TCC-RT,
you can run XSORT with a pipe,
with no XSORT option.

Code:
@setlocal
@echo off
iff %_tccrt eq 1 then
  echo TCC Runtime %_4ver
  echo 2^n1^n3 | xsort
else
  alias tccrt="C:\Program Files\JPSoft\TCC_RT_%_vermajor\tcc.exe" /Q /C %1 %2 %3 %4 %5...

Read more

Viewing all articles
Browse latest Browse all 1868

Trending Articles