projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[deliverable/binutils-gdb.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
(
"
\"
{
\\\n
"
);
10
while
(
ch
!=
EOF
) {
11
if
(
ch
==
'
\"
'
) {
12
putchar
(
'
\\
'
);
13
putchar
(
'
\"
'
);
14
}
15
else
{
if
(
ch
==
'
\n
'
) {
16
putchar
(
' '
);
17
putchar
(
'
\\
'
);
18
}
19
putchar
(
ch
);
20
}
21
ch
=
getchar
();
22
}
23
printf
(
"}
\"\n
"
);
24
return
0
;
25
}
This page took
0.029422 seconds
and
4
git commands to generate.