TPIPE?

Discussion in 'Support' started by vefatica, May 16, 2012.

  1. JohnQSmith

    Message Count:
    367
    What is the correct syntax for the /selection filter?
    The help file dated Tuesday, May 29, 2012 says
    Code:
    /selection=Type,Locate,Param1,Param2,MoveTo,nDelimiter,CustomDelimiter,HasHeader
    whereas the command line says
    Code:
    /selection=Type,Locate,Param1,Param2,MoveTo,ProcessIndividually,Delimiter,CustomDelimiter,HasHeader
  2. vefatica

    Message Count:
    3,988
    Aha! So it might take 9 parameters? I tries a few times using 9 parameters and got nothing but "the parameter is incorrect". Snooping around TPIPE.EXE, it seems it's coded for 8 parameters:

    Code:
    s.e.l.e.c.t.i.o.n.=.....%.d.,.%.d.,.%.d.,.%.d.,.%.d.,.%.d.,.%.s.,.%.d.
    In any event, I don't think it's working.
  3. JohnQSmith

    Message Count:
    367
    Other discrepancies where either parameter count (string, file, grep) or parameter order (grep) don't match.

    Help file
    Code:
    /string=type,MatchCase,string
    /file=type,MatchCase,filename
    /grep=Type,IncludeLineNumbers,IncludeFilename,MatchCase,CountMatches,PatternType,UTF8,IgnoreEmpty,Pattern
    
    Command line
    Code:
    /string=type,string
    /file=type,filename
    /grep=Type,IncludeLineNumbers,IncludeFilename,IgnoreCase,CountMatches,UTF8,PatternType,Pattern
    
  4. rconn Administrator

    Message Count:
    5,854
    I don't understand why you would want to use TPIPE (a text file processor) with TCMD.MSI (a binary file -- which doesn't have anything you could describe as a "9th field").
  5. vefatica

    Message Count:
    3,988
    Huh? Read what I was doing carefully. "ffind /m /s tcmd.msi" produces lines like this:

    Code:
    C:\Users\vefatica\AppData\Roaming\JP Software\Take Command 13.04 13.04.53\install\B321F08\tcmd.msi
    I wanted to use TPIPE to pick out the 9th \-delimited field in such a line, as CUT.EXE can do.

    Code:
    c:\users\vefatica\appdata\roaming\jp software> ffind /m /s tcmd.msi | g:\gnu\cut -f9 -d \
    B321F08
    I only wanted to process the output of FFIND.
  6. Rod Savard

    Message Count:
    229
    The "aemail" folder is still being created in the release build of 14.

    Thanks,
    Rod
  7. vefatica

    Message Count:
    3,988
    Yes. I didn't think so at first, after using TPIPE in a pipe a few times. But a simple "TPIPE /?" brought it back.

Share This Page