home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
utils
/
shell
/
xd-2.08
/
xd-2
/
xd
/
Command
/
separate.cc
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-05-09
|
268 b
|
18 lines
#include "Command.h"
void Command::separated_pattern(char *next)
{
char
*token;
token = strtok(next, "/-"); // grab the first token
do
{
strcat(pattern, token); // append it
strcat(pattern, "*/"); // append '*/'
}
while (token = strtok(0, "/-"));
}