mirror of
https://github.com/buserror/mii_emu.git
synced 2024-11-25 20:33:52 +00:00
3fd0540a83
Changes are just too long to list... Signed-off-by: Michel Pollet <buserror@gmail.com>
21 lines
392 B
C
21 lines
392 B
C
/*
|
|
* mish_cmd_test.c
|
|
*
|
|
* Copyright (C) 2020 Michel Pollet <buserror@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#define MISH_DEBUG 1
|
|
#include "mish_cmd.c"
|
|
|
|
int main()
|
|
{
|
|
int argc;
|
|
char ** argv = mish_argv_make(
|
|
"command with some \" quoted\\\"words \" should work\n", &argc);
|
|
|
|
for (int i = 0; i < argc; i++)
|
|
printf("%2d: '%s'\n", i, argv[i]);
|
|
mish_argv_free(argv);
|
|
}
|