To detect random input, I'd rather add this test after getline:
Note that all your lines are ended by a semicolon but this is not needed with awk. Unlike with C, an end of line is already ending a command so the semicolon is only required to delimit multiple commands on a single line.
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Hi all,
i have the files in the below sequence:
fancy_LANG_STD_AU_2008-03-05.dat
fancy_LANG_STD_HK_2008-03-06.dat
fancy_LANG_STD_NZ_2008-03-05.dat
fancy_STD_AU_2008-03-05.dat
fancy_STD_HK_2008-03-06.dat
fancy_STD_NZ_2008-03-05.dat
i am trying to sort them like below:
... (3 Replies)
This is my disk space on solaris box and i wrote a simple script which identifies mount points which crosses 90% or above.
But the AWK part is throwing some error and im unable to debug..
mzaheer @ UAT 144 % => df -k
Filesystem kbytes used avail capacity Mounted on... (5 Replies)
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Hi
I am trying to create a file with count of lines and string from shell variable, i am getting the error incorrect syntax.
Below is the code :
wc -l $filename | awk '{ print $1"|"$2"|"${SOURCETYPE} }'>>$AUDITFILENAME
Could someone help me on this? (7 Replies)
i have been trying to run the following bash script, but get error:
awk: cmd. line:1: -
awk: cmd. line:1: ^ unexpected newline or end of string
I have been trying to figure out what the problem is but to no avail. I need to run the script urgently for a project, so any help will be highly... (5 Replies)
Good evening, Im newbie at unix specially with awk
From an scheduler program called Autosys i want to extract some data reading an inputfile that comprises jobs names, then formating the output to columns for example
1.
This is the inputfile:
$ more MapaRep.txt
ds_extra_nikira_usuarios... (18 Replies)
Hi friends...
(Apoloigies for any typos.)
(Don, thanks for your input.)
Consider these two code snippets:-
awkerror1.awk
#!/usr/bin/awk -f
BEGIN \
{
SAWTOOTHPLUS64 = " !#$&\'\)*,-/0235689:<>?ABDEGHJKMNPQSTVWYZ\\^_abdeghjkmnpqstvwyz|}~"
for(LOOP = 1; LOOP <= 13; ++LOOP)
{... (3 Replies)
Discussion started by: wisecracker
3 Replies
LEARN ABOUT DEBIAN
uhd_siggen
UHD_SIGGEN(1) User Commands UHD_SIGGEN(1)NAME
uhd_siggen - Signal Generator using UHD hardware
SYNOPSIS
uhd_siggen: [options]
DESCRIPTION
Command-line signal generator application.
OPTIONS -h, --help
show this help message and exit
-a ARGS, --args=ARGS
UHD device address args , [default=]
--spec=SPEC
Subdevice of UHD device where appropriate
-A ANTENNA, --antenna=ANTENNA
select Rx Antenna where appropriate
-s SAMP_RATE, --samp-rate=SAMP_RATE
set sample rate (bandwidth) [default=1000000.0]
-g GAIN, --gain=GAIN
set gain in dB (default is midpoint)
-f FREQ, --tx-freq=FREQ
Set carrier frequency to FREQ [default=mid-point]
-x WAVEFORM_FREQ, --waveform-freq=WAVEFORM_FREQ
Set baseband waveform frequency to FREQ [default=0]
-y WAVEFORM2_FREQ, --waveform2-freq=WAVEFORM2_FREQ
Set 2nd waveform frequency to FREQ [default=none]
--sine Generate a carrier modulated by a complex sine wave
--const
Generate a constant carrier
--offset=OFFSET
Set waveform phase offset to OFFSET [default=0]
--gaussian
Generate Gaussian random output
--uniform
Generate Uniform random output
--2tone
Generate Two Tone signal for IMD testing
--sweep
Generate a swept sine wave
--amplitude=AMPL
Set output amplitude to AMPL (0.0-1.0) [default=0.15]
-v, --verbose
Use verbose console output [default=False]
SEE ALSO uhd_siggen_gui(1)uhd_siggen 3.5 December 2011 UHD_SIGGEN(1)