Searched full:awk (Results 1 – 25 of 1133) sorted by relevance
12345678910>>...46
... awk beebe/clsflnam.awk beebe/paramdup.awk beebe/nlinstr.ok beebe/nlfldsep.awk ...
5 awk=${awk-../a.out}17 $awk '{ if (match($0, /^The big brown over the lazy dog/) == 0) {29 $awk 'length($0) > 10' foo >foo234 echo foo | $awk '{ print "H\x49\x4a\x4BL" }' >foo238 $awk 'BEGIN { print "0\061\62x\0645" }' >foo242 echo 3 5 | $awk '{ i = 1; print $i++ ; print $1, i }' >foo155 $awk '{ NF -= 2; $1 = $1; print }' <foo >foo260 $awk 'BEGIN {x = 1; print x; x = x; print x}' >foo263 echo 573109312 | $awk '{print $1*4}' >foo172 $awk '/^#/' >foo1[all …]
4 awk=${awk-../a.out}10 goodbye' | $awk '19 goodbye' | $awk '28 goodbye' | $awk '38 $awk '47 $awk 'BEGIN { getline; print x}' x=4 /dev/null >foo252 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}' x=5 /dev/null >foo261 $awk 'BEGIN { x=0; getline; print x}68 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}75 $awk 'BEGIN { _=0; getline <"/dev/null"; print _}[all …]
6 oldawk=${oldawk-awk}7 awk=${awk-../a.out}9 echo oldawk=$oldawk, awk=$awk 11 oldawk=$oldawk awk=$awk Compare.t t.*14 oldawk=$oldawk awk=$awk Compare.p p.? p.??*17 oldawk=$oldawk awk=$awk Compare.T118 echo `grep '\$awk' T.* | wc -l` tests; echo20 oldawk=$oldawk awk=$awk Compare.tt tt.*
3 awk=${awk-../a.out}11 echo hello | $awk -d '{print}' >foo112 if test -r core; then echo 1>&2 "BAD: T.main awk -d dropped core"; fi15 $awk -F:: '{print NF}' foo >foo117 diff foo1 foo2 || echo 'bad: awk -F::'20 $awk -F :: '{print NF}' foo >foo122 diff foo1 foo2 || echo 'bad: awk -F ::'25 $awk -F t '{print NF}' foo >foo127 diff foo1 foo2 || echo 'bad: awk -F (tab)'30 $awk -F tab '{print NF}' foo >foo1[all …]
4 awk=${awk-../a.out}9 $awk '29 $awk '{ print $3; $4 = "a"; print }' foo >foo239 $awk '{ x = y = $059 $awk '{ w = x = y = z = $083 $awk '{ w = x = y = z = z1 = z2 = $0110 $awk '{ w = x = y = z = z1 = z2 = $0129 $awk '{ x = y = $0140 $awk 'BEGIN { printf "%*sworld\n", -20, "hello" }' >foo2157 $awk '[all …]
3 awk=${awk-../a.out}5 $awk '11 $awk '{ gsub(/\351/, "\370"); print }' latin1 >foo012 $awk '{ gsub(/�/, "�"); print }' latin1 >foo115 $awk '{ gsub(/[^\300-\370]/, ""); print }' latin1 >foo016 $awk '{ gsub(/[^�-�]/, ""); print } ' latin1 >foo120 $awk -f foo1 foo1 >foo226 $awk -f foo1 foo1 >foo231 Patterns like /[��]/ do not work yet. Example, run awk /[��]/34 echo 'Patterns like /[��]/ do not work yet. Example, run awk /[��]/[all …]
3 awk=${awk-../a.out}7 $awk '19 $awk '32 $awk '42 $awk55 $awk '{print L $0}' L=foo <foo0 >foo264 $awk '{print L $0}' L=foo foo0 >foo273 cat foo0 | $awk '{print L $0}' L=foo - >foo285 $awk '{print L $0}' L=foo foo0 L=glop foo0 >foo297 $awk '{print L $0}' L=11 foo0 L=22 foo0 >foo2[all …]
3 awk=${awk-../a.out}5 $awk 'BEGIN {10 $awk '{print}' foo1 >foo214 echo hello | $awk '22 $awk '30 $awk '{$1 = " 123456789"; print}' foo1 >foo233 $awk '41 $awk '{print NF}' foo >foo148 $awk 'BEGIN {56 $awk '[all …]
3 awk=${awk-../a.out}6 cat foo1 | $awk '16 cat foo1 | $awk '25 $awk '34 cat /etc/passwd | $awk '43 $awk '52 $awk '61 $awk '70 $awk '79 $awk ' BEGIN { print getline <"/glop/glop/glop" } ' >foo[all …]
3 awk=${awk-../a.out}5 $awk 'BEGIN { print index(123, substr(123, 2)) }' >foo19 $awk 'BEGIN {17 $awk 'BEGIN {28 $awk '{ printf("%s|%s|%s\n", tolower($0), toupper($0), $0)}' >foo135 $awk '{ printf("%s|%s|%s\n", tolower($0), toupper($0), $0)}') >foo138 (export LC_NUMERIC=de_DE.UTF-8 && $awk 'BEGIN { print 0.01 }' /dev/null) >foo143 $awk 'BEGIN {49 $awk 'BEGIN {55 $awk 'BEGIN {[all …]
3 awk=${awk-../a.out}5 $awk >foo 2>&18 $awk -f >foo 2>&111 $awk -f glop/glop >foo 2>&114 $awk -fglop/glop >foo 2>&117 $awk -zz 'BEGIN{}' >foo 2>&120 $awk -F >foo 2>&123 ### Awk is now like gawk and splits into separate characters if FS = ""24 # $awk -F '' >foo 2>&1
3 awk=${awk-../a.out}20 $awk 'BEGIN {37 $awk 'BEGIN {52 $awk 'BEGIN {67 $awk '{79 $awk '{95 $awk 'BEGIN { FS="=" } { FS="."; $0=$1; print $2; FS="="; }' $TEMP0 > $TEMP2107 $awk 'BEGIN { FS="=" } { print $2; FS="."; $0=$1; print $2; FS="="; }' $TEMP0 > $TEMP2118 $awk '134 $awk '[all …]
3 awk=${awk-../a.out}9 1e1 9' | $awk '28 $awk '35 $awk '44 $awk '62 $awk '96 $awk '122 $awk '147 $awk '160 $awk 'BEGIN { eprocess("eqn", "x", contig) [all …]
3 awk=${awk-../a.out}5 $awk '{ print >"foo" }' /etc/passwd9 $awk '{ print >>"foo" }' /etc/passwd13 $awk 'NR%2 == 1 { print >>"foo" }18 $awk '{ print | "cat >foo" }' /etc/passwd25 $awk 'BEGIN { print " head"31 $awk '{ print >"/dev/stderr" }' /etc/passwd 1>foo1 2>foo236 $awk '{ print >"/dev/stdout" }' /etc/passwd 1>foo1 2>foo2
6 # given just 'awk', a C preprocessor and standard command line utilities9 # the make command line (AWK='nawk' for example).10 AWK = gawk macro11 AWK = mawk macro12 AWK = nawk macro13 AWK = one-true-awk macro14 AWK = awk # This fails on SunOS 5.10; use 'nawk' macro38 $(AWK) -f $(srcdir)/scripts/dfn.awk out=pnglibconf.tmp pnglibconf.out >&241 pnglibconf.dfn: $(srcdir)/scripts/pnglibconf.dfa $(srcdir)/scripts/options.awk $(srcdir)/pngconf.h …43 @echo "## Calling $(AWK) from scripts/pnglibconf.mak" >&2[all …]
67 make --version 2>&1 | awk -F, '{print $1}' | awk \70 ld -v 2>&1 | awk -F\) '{print $1}' | awk \73 mkswap -V 2>&1 | awk '{print "util-linux ", $NF}'75 mount --version 2>&1 | awk -F\- '{print "mount ", $NF}'77 insmod -V 2>&1 | awk 'NR==1 {print "modutils ",$NF}'79 tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \82 reiserfsck 2>&1 | grep reiserfsprogs | awk \85 cardmgr -V 2>&1| grep version | awk \88 pppd --version 2>&1| grep version | awk \91 isdnctrl 2>&1 | grep version | awk \[all …]
22 # Read awk from the environment if set, else it can be set on the command23 # line (the default approach is to set the %awk% environment variable in the25 !ifdef %awk26 AWK=$(%awk) macro35 !ifdef AWK45 $(AWK) -f << dfn1.out >dfn2.out60 pnglibconf.dfn: ..\..\scripts\pnglibconf.dfa ..\..\scripts\options.awk pngconfig.dfa ..\..\pngconf.h62 …$(AWK) -f ..\..\scripts\options.awk out=dfn1.out version=search ..\..\pngconf.h ..\..\scripts\pngl…63 $(AWK) -f ..\..\scripts\options.awk out=dfn2.out dfn1.out 1>&284 @$(ECHO) $$(AWK) NOT AVAILABLE: COPYING scripts\pnglibconf.h.prebuilt[all …]
32 name: "awk-flags",46 // in stdio2.h, and this #defines it in awk.h81 tools: ["awk-maketab"],82 cmd: "$(location awk-maketab) $(in) > $(genDir)/proctab.c",88 name: "awk-maketab",89 defaults: ["awk-flags"],95 name: "awk-defaults",96 defaults: ["awk-flags"],112 name: "awk",113 defaults: ["awk-defaults"],[all …]
44 SOURCE = awk.h awkgram.tab.c awkgram.tab.h proto.h awkgram.y lex.c b.c main.c \47 LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \51 awk.156 $(OFILES): awk.h awkgram.tab.h proto.h58 awkgram.tab.c awkgram.tab.h: awk.h proto.h awkgram.y75 @bundle $(SHIP) >awk.shar76 @tar cf awk.tar $(SHIP)77 gzip awk.tar78 ls -l awk.tar.gz79 @zip awk.zip $(SHIP)[all …]
34 four a's. Thanks to Anonymous AWK fan <awkfan77@mailfence.com>46 * test/T.chem: Use $oldawk instead of hardwiring 'awk'.58 the code from the NetBSD awk.60 * awk.1: Updated.76 * awk.1: Fix a typo, minor edits.133 * bugs-fixed/unary-plus.awk, bugs-fixed/unary-plus.bad,139 * awk.1: Improve use of macros, add some additional explanation144 * awk.h (Cell): Add new field `fmt' to track xFMT value used148 * bugs-fixed/string-conv.awk, bugs-fixed/string-conv.bad,193 * awk.h (saveOFS, saveOFSlen, save_old_OFS): Remove declarations.[all …]
44 using std::regex_constants::awk; in main()56 search(pat, awk, target, true); in main()63 search(pat, awk | multiline, target, true); in main()74 search(pat, awk, target, false); in main()81 search(pat, awk | multiline, target, false); in main()92 search(pat, awk, target, false); in main()99 search(pat, awk | multiline, target, false); in main()111 search(pat, awk, target, true); in main()118 search(pat, awk | multiline, target, true); in main()129 search(pat, awk, target, false); in main()[all …]
33 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main()49 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()64 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main()71 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()77 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main()84 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main()90 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main()105 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main()124 std::regex_constants::awk))); in main()130 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main()[all …]
17 sed -e "s/@AWK@/awk/" < $SS_DIR/mk_cmds.sh.in \25 awk -f lib/et/et_c.awk outfile=$i.c outfn=$(basename $i.c) $i.et26 awk -f lib/et/et_h.awk outfile=$i.h outfn=$(basename $i.h) $i.et57 awk -f misc/profile-to-c.awk < misc/mke2fs.conf.in > misc/default_profile.c64 | awk '{print $3}' | tr \" " " | awk '{print $1}'`65 DATE=`grep E2FSPROGS_DATE version.h | awk '{print $3}' \67 E2FSPROGS_DAY=$(echo $DATE | awk -F- '{print $1}' | sed -e '/^[1-9]$/s/^/0/')68 MONTH=`echo $DATE | awk -F- '{print $2}'`69 YEAR=`echo $DATE | awk -F- '{print $3}'`
29 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main()45 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()60 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main()67 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main()80 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main()86 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main()101 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main()120 std::regex_constants::awk))); in main()126 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main()[all …]