mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
21 lines
310 B
C
21 lines
310 B
C
#include <stdio.h>
|
|
|
|
int
|
|
main()
|
|
{
|
|
int ch;
|
|
ch = getchar();
|
|
printf("/* Generated through mkscript */\n");
|
|
printf("\"SCRIPT \\\n");
|
|
while (ch != EOF) {
|
|
if (ch == '\n') {
|
|
putchar(' ');
|
|
putchar('\\');
|
|
}
|
|
putchar(ch);
|
|
ch = getchar();
|
|
}
|
|
printf("ENDSCRIPT\"\n");
|
|
return 0;
|
|
}
|