--------------------------------------------------------------------------------
Have to check in a file that the lines starting with 620 and 705
are ending at same posiotin.
82012345
62023232323
70523949558
62023255454
9999
In the above lines, i have to check the lines starting... (1 Reply)
Hi, guys. I have one question:
How can I search for a line with certain string in it and then insert a string into this line?
For example:
There is a file called shadow, the contents of it are below:
**************************
...
yuanz:VIRADxMsadfDF/Q:0:0:50:7:::... (9 Replies)
I have two files abc.dat and sant.dat (Big file 60k rows)
for every line's 1,4 of abc.dat need to seach if this is present on 28,4 of sant.dat every line.
if its present the output needs to go to bde.dat
Example:
contents abc.dat
aaaa
bbbb
cccc
dddd
contents sant.dat
this is... (4 Replies)
hello I'm doing a unix program and i'm using many file csv.in each csv file the colums are separated by ";" I would like to know the position of a pattern. For example for a line yyyy, bbbb, cccc; ddddd;eeee. I will like for example by finding the position of the pattern "cccc" and the response is... (6 Replies)
Hi,
I am trying to get an output like :
+----------------------------------+ ----------- +
+ some variable substitution + some text +
Is there a way I can specify in printf (in ksh) the particular position I want to print a character, and also repeat a character from... (1 Reply)
Hi,
I have some files that i want to concatene and put each of lines of this files on a specific position :
File1
AAAAAAA
BBBBBBB
CCCCCCC
File2
DDDDDDD
EEEEEEE
FFFFFFF
File3
GGGGGG
HHHHHH
IIIIII
New file (6 Replies)
Need command for position based replace:
I need a command to replace with 0 for characters in the positions 11 to 20 to all the lines starts with 6 in a file.
For example the file ABC.txt has:
abcdefghijklmnopqrstuvwxyz
6abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz... (4 Replies)
Hi,
I need to remove line breaks from a file, but only the ones at specific position.
Input file:
this is ok
this line is divided at posit
ion 30. The same as this one,
also position 30
the rest of lines are ok
with different lengths
The longest ones are always s
plitted at same... (15 Replies)
I will appreciate if you help me here in this script in Solaris Enviroment.
Scenario:
i have 2 files :
1) /tmp/TRANSACTIONS_DAILY_20180730.txt:
201807300000000004
201807300000000005
201807300000000006
201807300000000007
201807300000000008
2)... (10 Replies)
Discussion started by: teokon90
10 Replies
LEARN ABOUT DEBIAN
rigsmtr
RIGSMTR(1) General Commands Manual RIGSMTR(1)NAME
rigsmtr - measure S-Meter vs azimuth using Hamlib
SYNOPSIS
rigsmtr [OPTION]... [time_step]
DESCRIPTION
rigsmtr uses Hamlib to control a rig to measure S-Meter vs azimuth:
It rotates the antenna from minimum azimuth to maximum azimuth. Every second or time_step if specified in seconds, it retrieves the signal
strength.
Azimuth in degree and corresponding S-Meter level in dB relative to S9 are then printed on stdout.
To work correctly, rigsmtr needs a rig that could measure S-Meter and a Hamlib backend that is able to get it, mounted on a Hamlib sup-
ported rotator.
Keep in mind that Hamlib is still BETA level software. A lof of stuff hasn't been tested thoroughly, and the API may change without publi-
cised notice. Please report bugs and feedback at the e-mail address given in the REPORTING BUGS section.
OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-m, --model=id
Select radio model number. See model list provided by rigctl.
-r, --rig-file=device
Use device as the file name of the radio to operate on.
-s, --serial-speed=baud
Set radio serial speed to baud rate. Uses maximal rig speed as default.
-c, --civaddr=id
Use id as the CI-V address to communicate with the rig. Only for Icom rigs. NB: the id is in decimal, unless prefixed by 0x, in
which case it is hexadecimal.
-C, --set-conf=parm=val[,parm=val]*
Set radio config parameter. See -L option of rigctl for a list.
-M, --rot-model=id
Select radio model number. See model list provided by rotctl.
-R, --rot-file=device
Use device as the file name of the rotator to operate on.
-S, --rot-serial-speed=baud
Set rotator serial speed to baud rate. Uses maximal speed as default.
-N, --rot-set-conf=parm=val[,parm=val]*
Set rotator config parameter. See -L option of rotctl for a list.
-v, --verbose
Set verbose mode, cumulative (BUG, ERR, WARN, VERBOSE, TRACE).
-h, --help
Show summary of options and exit.
-V, --version
Show version of program and exit.
RETURN VALUE
rigsmtr exits with: 0 if all operations went fine; 1 if there was an invalid command line option or arg; 2 if an error was returned by Ham-
lib; 3 if the rig doesn't have the required capabilities.
EXAMPLE
rigsmtr -m 209 -r /dev/ttyS1 -M 202 > csmtr
Collect S-Meter readings on a TS850 while an EasycommII rotator makes a full 360o, and record measurements in file csmtr.
After completion, csmtr file contains for example the following lines :
0 -47
30 -40
60 -22
90 -3
120 10
150 1
180 -11
210 -24
240 -35
270 -42
300 -48
330 -51
360 -49
Result could then be ploted with gnuplot:
gnuplot
set angles degrees
set polar
set grid polar 15.
unset border
unset param
set style data line
set rrange [-60:60]
set xrange [-60:60]
set yrange [-60:60]
plot "csmtr"
AUTHOR
Man page written by Stephane Fillod.
BUGS
Need more testing. Reports are welcome.
REPORTING BUGS
Report bugs to <hamlib-developer@users.sourceforge.net>.
COPYRIGHT
Copyright (C) 2004-2009 Thierry Leconte & Stephane Fillod
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO hamlib(3),rigctl(1),rotctl(1)Hamlib January 5, 2008 RIGSMTR(1)