Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/coreutils/tr.c

    r2725 r3232  
    4747//config:     useful for cases when no other way of expressing a character
    4848//config:     is possible.
     49
     50//usage:#define tr_trivial_usage
     51//usage:       "[-cds] STRING1 [STRING2]"
     52//usage:#define tr_full_usage "\n\n"
     53//usage:       "Translate, squeeze, or delete characters from stdin, writing to stdout\n"
     54//usage:     "\n    -c  Take complement of STRING1"
     55//usage:     "\n    -d  Delete input characters coded STRING1"
     56//usage:     "\n    -s  Squeeze multiple output characters of STRING2 into one character"
     57//usage:
     58//usage:#define tr_example_usage
     59//usage:       "$ echo \"gdkkn vnqkc\" | tr [a-y] [b-z]\n"
     60//usage:       "hello world\n"
    4961
    5062#include "libbb.h"
     
    325337    }
    326338
     339    if (ENABLE_FEATURE_CLEAN_UP) {
     340        free(vector);
     341        free(str2);
     342        free(str1);
     343    }
     344
    327345    return EXIT_SUCCESS;
    328346}
Note: See TracChangeset for help on using the changeset viewer.