Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TPIPE and /inputstring

Aug
1,949
71
Code:
c:\users\jlc\utils>ver

TCC  22.00.29 x64   Windows 7 [Version 6.1.7601]

I have a file as follows;
Code:
c:\users\jlc\utils>type testpipe.txt
This  is  a  test

This works;
Code:
c:\users\jlc\utils>tpipe /input=testpipe.txt /simple=19
This is a test

This does not work;
Code:
c:\users\jlc\utils>tpipe /inputstring="This  is  a  test"  /simple=19

...that is, no output is displayed when using the /inputstring option.

Regardless of the value for /simple, no output is displayed when I use /inputstring.

What am I missing?

Joe
 
What am I missing?

Joe

You are not missing anything.
It's a bug in the parameter handling of textpipeengine.dll. It misses a "=" after /inputstring.
Well, at least if it is still the same bug that was in 20,.0.xx (more or less; dont know exactly, too long ago ...)
 
...that is, no output is displayed when using the /inputstring option.

Regardless of the value for /simple, no output is displayed when I use /inputstring.
/QUOTE]

There's a difference of opinion between the textpipeengine.dll documentation and the actual behavior when using inputstring. I've changed TPIPE for the next build to match the behavior rather than the docs.
 
This now works as it should;
Code:
c:\users\jlc\utils>tpipe /inputstring="This  is  a  test"  /simple=19
"This is a test"

...with
Code:
TCC  22.00.32 x64   Windows 7 [Version 6.1.7601]

Thanks!

Joe
 

Similar threads

Back
Top