IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2011, 11:15:56 AM (15 years ago)
Author:
eugene
Message:

added concept of merging multiple objects into a single object in DVO / relastro; avoid memory-hogging duplication of the images array in relastro / relphot; enable parallax fitting; fix nan/inf bug in color points; add -no-return option to opihi/echo

File:
1 edited

Legend:

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

    r14190 r32346  
    33int echo (int argc, char **argv) {
    44 
    5   int i;
     5  int i, N, RETURN_CHAR;
     6
     7  RETURN_CHAR = TRUE;
     8  if ((N = get_argument (argc, argv, "-no-return"))) {
     9    remove_argument (N, &argc, argv);
     10    RETURN_CHAR = FALSE;
     11  }
    612
    713  for (i = 1; i < argc - 1; i++) {
     
    915  }
    1016  if (argc >= 2) {
     17    if (RETURN_CHAR) {
    1118      gprint (GP_LOG, "%s\n", argv[argc - 1]);
     19    } else {
     20      gprint (GP_LOG, "%s", argv[argc - 1]);
     21    }
    1222  }
    1323  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.