Displaying 20 results from an estimated 2154 matches for "awking".
Did you mean:
asking
2014 Nov 30
4
awk vs. mawk
On Nov 26 22:39:27, hans at stare.cz wrote:
> ./test_replaygain.sh fails for me in tonegenerator(), saying:
>
> ./test_replaygain.sh[91]: mawk: not found
> Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
>
> Apparently, the tone-generating awk script does not work with
> my system's awk, which is "awk version 20110810" as distributed
2014 Dec 03
0
awk vs. mawk
On Nov 30 14:33:47, hans at stare.cz wrote:
> On Nov 26 22:39:27, hans at stare.cz wrote:
> > ./test_replaygain.sh fails for me in tonegenerator(), saying:
> >
> > ./test_replaygain.sh[91]: mawk: not found
> > Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
> >
> > Apparently, the tone-generating awk script does not work with
>
2014 Dec 10
1
awk vs. mawk
(ping, if there is any interest).
On Dec 03 13:21:16, hans at stare.cz wrote:
> On Nov 30 14:33:47, hans at stare.cz wrote:
> > On Nov 26 22:39:27, hans at stare.cz wrote:
> > > ./test_replaygain.sh fails for me in tonegenerator(), saying:
> > >
> > > ./test_replaygain.sh[91]: mawk: not found
> > > Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR:
2014 Dec 11
2
awk vs. mawk
On Dec 10 23:04:44, mle+la at mega-nerd.com wrote:
> Definitely interested in a cross platform solution to this.
Diff below. Please test.
On Dec 03 13:21:16, hans at stare.cz wrote:
> On Nov 30 14:33:47, hans at stare.cz wrote:
> > On Nov 26 22:39:27, hans at stare.cz wrote:
> > > ./test_replaygain.sh fails for me in tonegenerator(), saying:
> > >
> > >
2019 Oct 31
5
[PATCH] Replace mkproto.pl with mkproto.awk
This replaces the build dependency on perl with one on awk which is
already used in the build system and is much more ubiquitous than perl
---
Makefile.in | 2 +-
mkproto.awk | 39 +++++++++++++++++++++++++++++++++++++++
mkproto.pl | 48 ------------------------------------------------
3 files changed, 40 insertions(+), 49 deletions(-)
create mode 100644 mkproto.awk
delete mode 100644
2012 Dec 06
2
awk awk
a little out of my comfort zone and have practically gotten what I want but awk seems determined to send a message via std error which is problematic and annoying. Basically trying to get a list of virtual host names from nginx config files like this:
$ awk -F" " '/./ { if ( match ( "^server_name$", $2 ) ) print $1 }' /opt/nginx/sites/*.conf \
| grep -v server_name |
2007 Jun 13
3
Awk and Vilno
In clinical trial data preparation and many other data situations, the
statistical programmer needs to merge and re-merge multiple input
files countless times. A syntax for merging files that is clear and
concise is very important for the statistical programmer's
productivity.
Here is how Vilno does it:
inlist dataset1 dataset2 dataset3 ;
joinby variable1 variable2 where ( var3<=var4 ) ;
2013 Apr 24
3
Tests not aborting when appropriate
On 24-04-13 14:34, Erik de Castro Lopo wrote:
> That's an error in the awk script, which is embedded in the shell
> script. I know GNU awk supports lshift, maybe BSD awk doesn't. I'll
> investigate that futher.
On my system awk links to mawk 1.3.3
>> I don't know why, but the test continues and says all tests passed while
>> that clearly isn't the
2017 Oct 25
6
[OT] Bash help
Warren Young wrote:
> On Oct 25, 2017, at 10:02 AM, Mark Haney <mark.haney at neonova.net> wrote:
>>
>> I have a file with two columns 'email' and 'total' like this:
>>
>> me at example.com 20
>> me at example.com 40
>> you at domain.com 100
>> you at domain.com 30
>>
>> I need to get the total number of messages for
2019 Oct 31
1
[PATCH] Replace mkproto.pl with mkproto.awk
> I can't speak for rsync, but nowadays Perl isn't that rare, that a
> dependeny on it for build purpose would matter. IMHO.
It might not be rare, but it's certainly less universally available than
awk, which is preinstalled on pretty much every unix-like OS out there.
> There are many flavours of AWK. Are you sure, that your AWK replacement
> runs everwhere?
I tested
2016 Apr 29
2
Semi-OT: awk
This is odd, and annoying. CentOS 6, current. Here's my awk script:
{
room = substr($0, 48, 10);
arr[$2,room,$1] = $0;
}
END {
for ( i in arr ) {
for ( j in arr[i] ) {
for ( k in arr[i][j] ) {
print arr[i][j][k];
}
}
}
}
And when I run it, it complains
awk -f awksort proplist7
awk: awksort:7: for ( j in arr[i] ) {
awk: awksort:7:
2003 Sep 12
1
Getting 2 kinds of quotes inside a pasted string
Hi, all.
I would like to use "pipe" to run a file through an awk program before
scanning (to reduce the amount of data I'll be taking in). I would like to
construct the awk program in R, and also to be able to set the awk variable
FS, to accommodate different field separators in different files.
My problem is that I keep getting the quotes escaped in the string that
comes out, and
2008 Sep 23
2
RELENG_7: buildworld failed with MODULES_WITH_WORLD=
Hi!
I've just tried to build NanoBSD from 7.0-STABLE sources
with MODULES_WITH_WORLD knob enabled and it failed.
Note that NanoBSD uses make -j3 by default and I have dualcore system.
===> sys/modules/nfslockd (depend)
@ -> /usr/local/src/sys
machine -> /usr/local/src/sys/i386/include
echo "#define INET6 1" > opt_inet6.h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src
2018 Mar 29
1
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
Hi Rowland,
> You could try adding something like this near to the top of
> dhcp-dyndns.sh:
>
> TTL=$(cat /etc/dhcp/dhcpd.conf | grep 'max-lease-time' | awk -F ';'
> '{print $1}' | awk '{print $NF}')
>
> Then replace the '3600' with '$TTL'
Users like comments in their config files. Your script:
cat /etc/dhcp/dhcpd.conf |
2009 Dec 15
2
Define an alias with an embeded awk command
Hi ,all :
I'm trying to define an alias with an embeded awk command:
alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut
-c 6- `
After I edit it in the .cshrc file and run "source .cshrc" , I run the
"checketh0" command in the terminal ,
the screen displays the "192.168.7.24: Command not found "
Why does is it ?Any
2017 Feb 09
5
Users list and the date the password will expire
On Thu, 9 Feb 2017 12:49:12 +0100
Ole Traupe via samba <samba at lists.samba.org> wrote:
> Never mind. However, with your update I get the following error right
> on the first found "user":
>
> ./mailtest_rowland.sh: line 27: (""/10000000)-11644473600: syntax
> error: operand expected (error token is """/10000000)-11644473600")
>
2009 Jun 24
4
More awk help
Hey guys,
Looking through my book and the web and I am not having any success
returning data from a search.
I need to have awk search for a string and print the first field which
is no problem but now its returning two options as the input data has
changed. The change is reliable, I only want the first field if it ends
in a regex that I have, and I only want what that regex matches to be
printed.
2008 Jun 23
2
Awk help
I have csvde dump from active directory I process on my postfix mta.
It takes output like this:
"CN=Curtis xxx,OU=Domain Users,OU=xxx xxx,DC=xxx-xxx,DC=local",X400:c=US\;a= \;p=xxx xxx xxx\;o=Exchange\;s=xxx\;g=xxx\;;SMTP:Cxxx at xxx-xxx.com
and should return a relay_recipient map in the form of:
Cxxx at xxx-xxx.com OK
The command I am using is:
cat $1 | tr -d \" | tr , \\n|
2008 Jul 09
1
Need help with awk one-liner
This awk command pulls URLs from an apache config file, where $x is
the config filename.
awk '/:8008\/root/ {printf $3 "\t"}' $x
The URL that is output by the script looks something like this:
ajpv12://hostname.network.company.com:8008/root
Is there a way to alter the output so it only shows "hostname" by
itself? Do I need to pipe this through awk again to clean it
2010 Mar 06
1
Define an alias with an embeded awk command error ?
Hi, guys:
I'm trying to define an alias in .cshrc with the embeded awk command,
like this :
alias checketh0 "ip add ls eth0 |awk '/inet/{print $2}' |sed -n '1p' "
Then i run "source ~/.cshrc" and run "checketh0" command in the terminal ,
but the result is the following :
" inet 192.168.18.18/24 brd 192.168.18.255 scope global