IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2018, 9:42:25 AM (8 years ago)
Author:
eugene
Message:

add strstr function to opihi; add triangular masking function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/init.c

    r37049 r40522  
    4242int strmatch        PROTO((int, char **));
    4343int substr_func     PROTO((int, char **));
     44int strstr_func     PROTO((int, char **));
    4445int strpop          PROTO((int, char **));
    4546int strhash         PROTO((int, char **));
     
    9495  {1, "fprintf",       fprintf_opihi,      "formatted print to standard output"},
    9596  {1, "strlen",        strlen_func,        "string length"},
    96   {1, "substr",        substr_func,        "substring"},
     97  {1, "substr",        substr_func,        "extract a substring"},
     98  {1, "strstr",        strstr_func,        "find a substring"},
    9799  {1, "strhash",       strhash,            "generate a hash for a string"},
    98100  {1, "strpop",        strpop,             "pop a string"},
Note: See TracChangeset for help on using the changeset viewer.