[teqc] Suggest

Lou Estey lou at unavco.org
Tue Aug 4 09:25:03 MDT 2009


Ah, the answer:

>> Is there a grep.exe (or equivalent) for Windows?  UNIX `grep` is what I
>> find the most useful when trying to find something ... like from
>> `teqc +help`, which was the original point of this thread.  You all
>> think I can remember all the teqc options?  :)  No, I just remember
>> enough to `grep` for what I want to find, e.g. stuff with L2:
>>
>> [626] teqc +help | grep -i l2
>> ...
> 
> On Windows XP:
> 
> ++ QUOTE
> 
> c:\>teqc +help | find /i "l2"
>         -P[codes]            P-codeless (L2-squaring) or C/A-L1-only receiver
>         +P[codes]            normal dual-frequency receiver (including L2C-capable) (default)
>         +L2                  expect and use L2-carrier data (default)
>         -L2                  don't expect L2-carrier data
>         +L2_2                keep L2 cycle data if L2 is squared (default)
>         -L2_2                delete L2 cycle data if L2 is squared
>         +L2C_L2              use phase value in L2C code block as L2
>         -L2C_L2              use phase value in P2 code block as L2 (default)
>                                            "str" = L1L2C1P2 renames 4 observables to be L1 L2 C1 P2, and in that order
>                                            "str" = L1L2C1P2 sets 4 observables to be L1 L2 C1 P2, and in that order
>                 +ion                     compute L2-ionospheric observable (default)
>                 -ion                     don't compute L2-ionospheric observables
>                 +iod                     compute L2-ionospheric derivative (default)
> teqc ... exiting
>                 -iod                     don't compute L2-ionospheric derivative
>                 -ion_jump[cm] #          set maximum L2-ionospheric change to be # cm (default = 1.000e+35)
>                 -iod_jump[cm/min] #      set maximum L2-ionospheric time-rate of change to be # cm/minute (default = 400.0)
>                 -min_L2 #                set minimum allowable L2 S/N RINEX code to 0 <= # <= 9 (default = 0)
>                 +mp                      compute L1 and L2 multipath observables (default)
>                 -mp                      don't compute L1 and L2 multipath observables
>                 +pl                      compute L1 and L2 pseudorange-phase observables
>                 -pl                      don't compute L1 and L2 pseudorange-phase observables (default)
> 
> c:\>find  /?
> Searches for a text string in a file or files.
> 
> FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]
> 
>   /V         Displays all lines NOT containing the specified string.
>   /C         Displays only the count of lines containing the string.
>   /N         Displays line numbers with the displayed lines.
>   /I         Ignores the case of characters when searching for the string.
>   /OFF[LINE] Do not skip files with offline attribute set.
>   "string"   Specifies the text string to find.
>   [drive:][path]filename
>              Specifies a file or files to search.
> 
> If a path is not specified, FIND searches the text typed at the prompt
> or piped from another command.
> 
> -- QUOTE
> 
> You can see that find is much simpler than grep. But it is good enough
> for simple tasks and can be used in a pipe.
> 
> A more sophisticated version is findstr:
> 
> c:\>teqc +help | findstr /i "l2"
> [produces the same output]
> 
> http://technet.microsoft.com/en-us/library/bb490907.aspx


More information about the teqc mailing list