repo.or.cz
/
e2fsprogs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rezize2fs: fix memory leak when fixing up the orphan file inode
[e2fsprogs.git]
/
misc
/
profile-to-c.awk
blob
814f7236a8ae0664bef57e85fa3a6b53d019cc24
1
#!/bin/awk
2
BEGIN
{
3
printf
(
"const char *mke2fs_default_profile =
\n
"
);
4
}
5
6
{
7
gsub
(
"
\"
"
,
"
\\\"
"
,
$
0
);
8
printf
(
"
\"
%s
\\
n
\"\n
"
,
$
0
);
9
}
10
11
END
{
12
printf
(
";
\n
"
,
str
)
13
}