IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41284


Ignore:
Timestamp:
Feb 24, 2020, 3:51:43 PM (6 years ago)
Author:
eugene
Message:

move ipptool2book from pantasks to general opihi code (rename as queue2book, keep alias ipptool2book)

Location:
trunk/Ohana/src/opihi/cmd.data
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/Makefile

    r41164 r41284  
    129129$(SRC)/queuesubstr.$(ARCH).o    \
    130130$(SRC)/queueinit.$(ARCH).o      \
     131$(SRC)/queue2book.$(ARCH).o     \
    131132$(SRC)/radial.$(ARCH).o \
    132133$(SRC)/rd.$(ARCH).o             \
  • trunk/Ohana/src/opihi/cmd.data/init.c

    r41164 r41284  
    115115int queuesubstr      PROTO((int, char **));
    116116int queuesize        PROTO((int, char **));
     117int queue2book       PROTO((int, char **));
    117118int rd               PROTO((int, char **));
    118119int rdseg            PROTO((int, char **));
     
    314315  {1, "queuesize",    queuesize,        "show queue size"},
    315316  {1, "queuesubstr",  queuesubstr,      "bulk replace strings in queue"},
     317  {1, "queue2book",   queue2book,       "convert queue with ipptool output to book"},
     318  {1, "ipptool2book", queue2book,       "convert queue with ipptool output to book"},
    316319  {1, "rd",           rd,               "load fits image"},
    317320  {1, "rdseg",        rdseg,            "read a segment of an image from a file"},
  • trunk/Ohana/src/opihi/cmd.data/queue2book.c

    r41177 r41284  
    77
    88// convert the named queue with ipptool metadata output into book format
    9 int ipptool2book (int argc, char **argv) {
     9int queue2book (int argc, char **argv) {
    1010
    1111  int i, N, onPage, found, Unique, Nkeys, NKEYS;
     
    6767
    6868  if (argc != 3) {
    69     gprint (GP_ERR, "USAGE: ipptool2book (queue) (book) [-uniq] [-key key[:key..]]\n");
     69    gprint (GP_ERR, "USAGE: queue2book (queue) (book) [-uniq] [-key key[:key..]]\n");
     70    gprint (GP_ERR, "       converts the named queue  with ipptool metadata output into book format\n");
    7071    FREEKEYS;
    7172    return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.