IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16211


Ignore:
Timestamp:
Jan 23, 2008, 2:24:47 PM (18 years ago)
Author:
eugene
Message:

creating built-in dirname and mkdir functions

Location:
trunk/Ohana/src/opihi/cmd.basic
Files:
2 added
2 edited

Legend:

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

    r16168 r16211  
    2222$(SRC)/config.$(ARCH).o     \
    2323$(SRC)/continue.$(ARCH).o   \
     24$(SRC)/dirname.$(ARCH).o     \
    2425$(SRC)/date.$(ARCH).o        \
    2526$(SRC)/echo.$(ARCH).o        \
     
    3435$(SRC)/macro.$(ARCH).o       \
    3536$(SRC)/memory.$(ARCH).o     \
     37$(SRC)/mkdir.$(ARCH).o     \
    3638$(SRC)/module.$(ARCH).o     \
    3739$(SRC)/output.$(ARCH).o     \
  • trunk/Ohana/src/opihi/cmd.basic/init.c

    r16168 r16211  
    66int cd              PROTO((int, char **));
    77int date            PROTO((int, char **));
     8int dirname_opihi   PROTO((int, char **));
    89int echo            PROTO((int, char **));
    910int exec_last       PROTO((int, char **));
     
    2021int macro           PROTO((int, char **));
    2122int memory          PROTO((int, char **));
     23int mkdir_opihi     PROTO((int, char **));
    2224int module          PROTO((int, char **));
    2325int output          PROTO((int, char **));
     
    4547  {"cd",            cd,                 "change directory"},
    4648  {"date",          date,               "get current date"},
     49  {"dirname",       dirname_opihi,      "built-in dirname function"},
    4750  {"echo",          echo,               "type this line *"},
    4851  {"break",         exec_break,         "escape from function *"},
     
    6164  {"macro",         macro,              "deal with the macros *"},
    6265  {"memory",        memory,             "long listing of the allocated memory"},
     66  {"mkdir",         mkdir_opihi,        "built-in mkdir command"},
    6367  {"module",        module,             "load script file from the modules directories"},
    6468  {"output",        output,             "redirect output to file"},
Note: See TracChangeset for help on using the changeset viewer.