← Commit list

7a32aaacd

Glenn L McGrath
Glenn L McGrath
2002-09-15
FAILED Duration: 5s

Subject

Awk applet written from scratch by Dmitry Zakharov

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/applets.h+3 -0
@@ -61,6 +61,9 @@
#ifdef CONFIG_ASH
APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_AWK
+ APPLET(awk, awk_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_BASENAME
APPLET(basename, basename_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
include/usage.h+8 -0
@@ -38,6 +38,14 @@
"\t-x\t\textract\n" \
"\t-v\t\tverbosely list files processed\n"
+#define awk_trivial_usage \
+ "[-v var=val][-F sep] { -f progname | 'programtext' } [FILE ...]"
+#define awk_full_usage \
+ "Options:\n" \
+ "\t-v var=val\tassign value 'val' to variable 'var'\n" \
+ "\t-F sep\t\tuse 'sep' as field separator\n" \
+ "\t-f progname\tread program source from file 'progname'\n"
+
#define basename_trivial_usage \
"FILE [SUFFIX]"
#define basename_full_usage \