added partial code for cut

This commit is contained in:
2009-10-05 08:08:27 +00:00
parent 22394802f8
commit 6de11d0391
20 changed files with 1806 additions and 24 deletions

View File

@ -1,2 +1,2 @@
SUBDIRS = sed awk lsp utl
SUBDIRS = sed awk cut lsp utl
DIST_SUBDIRS = $(SUBDIRS)

View File

@ -194,7 +194,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = sed awk lsp utl
SUBDIRS = sed awk cut lsp utl
DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive

View File

@ -34,7 +34,8 @@ static const qse_char_t* g_infile = QSE_NULL;
static int g_option = 0;
static qse_ssize_t in (
qse_sed_t* sed, qse_sed_io_cmd_t cmd, qse_sed_io_arg_t* arg, qse_char_t* buf, qse_size_t size)
qse_sed_t* sed, qse_sed_io_cmd_t cmd,
qse_sed_io_arg_t* arg, qse_char_t* buf, qse_size_t size)
{
switch (cmd)
{
@ -78,7 +79,8 @@ static qse_ssize_t in (
}
static qse_ssize_t out (
qse_sed_t* sed, qse_sed_io_cmd_t cmd, qse_sed_io_arg_t* arg, qse_char_t* data, qse_size_t len)
qse_sed_t* sed, qse_sed_io_cmd_t cmd,
qse_sed_io_arg_t* arg, qse_char_t* data, qse_size_t len)
{
switch (cmd)
{