projects
/
platform
/
upstream
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[platform/upstream/binutils.git]
/
ld
/
mkscript.c
1
#include <stdio.h>
2
3
int
4
main()
5
{
6
int ch;
7
ch = getchar();
8
printf("/* Generated through mkscript */\n");
9
printf("\"SCRIPT \\\n");
10
while (ch != EOF) {
11
if (ch == '\n') {
12
putchar(' ');
13
putchar('\\');
14
}
15
putchar(ch);
16
ch = getchar();
17
}
18
printf("ENDSCRIPT\"\n");
19
return 0;
20
}