10-23-2011
Quote:
Originally Posted by
DeCoTwc
Offtopic, but this is the best thread I've ever seen on this site. The question was phrased perfectly. in detail,
with what has been attempted, input and desired output. The help offered, and the modifying of the code
through each attempt. That was great. Just great.
Hi DeCoTwc,
Thanks for your kind comment. I try to explain the best I can because English is not my maternal language and because
I know that is the best way to get appropiate help and that the same problem concept helps somebody else in the future.
Sometime when I do a question I think whether or not add some details because for experience a question that looks long
in explanation has less possibilities to be completely read it and therefore, answered, even when it has an not complex solution.
Nice to know that our questions are not only a way to get help for us, but to contribute to enrich the forum.
PS: I like to use color tools :-)
Best regards
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i'm programming on /bin/csh and i need to get the number extracted by this:
set ppl_kn = $(awk '{ field = $6 } ; END{ print field }' < ppl_LM_kn.ppl )
and the output is: "Illegal variable name."
Please anyone can help me what's wrong?
Thanks in advance (2 Replies)
Discussion started by: tmxps
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
4. Shell Programming and Scripting
Hi,
I have a problem with "for" and "while" loop in "sh".
I have:
#!/bin/sh
for i in $(seq 1 500000); do
echo $i
doneand it's working in sh on my ubuntu, but when I try to run this on unix(I have access to my university's unix) it crash:
syntax error at line 2: `$' unexpected...... (8 Replies)
Discussion started by: Physix
8 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
7. Shell Programming and Scripting
I have a CSV file as shown below
"1","SANTHA","KUMAR","SAM,MILLER","DEVELOPER","81,INDIA"
"2","KAPIL","DHAMI","ECO SPORT","DEVELOPER","82,INDIA"
File is comma delimited.All the field values are enclosed by double quotes. But while using awk or cut, it interprets the comma which is present in... (6 Replies)
Discussion started by: santhansk
6 Replies
8. Shell Programming and Scripting
Hi Team. I am trying to execute a simple for loop within an awk but its giving a different result. Below is the main code:
awk '{for(i=1;i<=6;i++) print $i}'The result should be 1 2 3 4 5 6 but its not giving this result. Can someone please help? (3 Replies)
Discussion started by: chatwithsaurav
3 Replies
9. UNIX for Beginners Questions & Answers
I am hoping to pull multiple strings from one file and use them to search within a block of text within another file.
File 1PS001,001 HLK
PS002,004 MWQ
PS004,002 RXM
PS004,006 DBX
PS004,006 SBR
PS005,007 ML
PS005,009 DBR
PS005,011 MR
PS005,012 SBR
PS006,003 RXM
PS006,003 >SJ
PS006,010... (11 Replies)
Discussion started by: jvoot
11 Replies
LEARN ABOUT DEBIAN
fccexam
HAMEXAM(1) General Commands Manual HAMEXAM(1)
NAME fccexam - Study guide for USA FCC commercial radio license examinations.
SYNOPSIS
fccexam [option]
DESCRIPTION
fccexam presents questions in random order from the selected question pool, and terminates when all questions have been answered correctly.
The session may be interrupted with ^C, and resumed later.
Some questions refer to diagrams. The diagrams for the selected question pool are displayed in a separate window using eog(1).
Licenses are issued by the Federal Communications Commission (FCC), but examinations are administered by COLEM examiners. See http://wire-
less.fcc.gov/commoperators/index.htm?job=home for information regarding USA commercial radio licenses.
OPTIONS
If no pool is specified, usage, version, and help information is displayed.
To initialize the question pool, one of the element numbers may be specified:
1 Element 1, Basic radio law and operating practice.
3 Element 3, General Radiotelephone; Electronic fundamentals and techniques required to adjust, repair, and maintain radio transmit-
ters and receivers.
5 Element 5, Radiotelegraph operating procedures and practices.
6 Element 6, Advanced technical, legal, and other matters applicable to the operation of all classes of radiotelegraph stations.
7 Element 7, GMDSS Radio Operating Practices.
7R Element 7R, Restricted GMDSS Radio Operating Practices.
8 Element 8, Ship Radar Techniques.
9 Element 9, GMDSS Radio Maintenance Practices and Procedures.
The following abbreviations may be used to select multiple elements:
T1 First Class Radiotelegraph: elements 1, 5, 6.
T2 Second Class Radiotelegraph: elements 1, 5, 6.
T3 Third Class Radiotelegraph: elements 1, 5.
GROL General Radiotelephone Operator License: elements 1, 3.
GROL+ General Radiotelephone Operator License + Radar: elements 1, 3, 8.
MROP Marine Radio Operator Permit: element 1.
GMDSS Global Maritime Distress Safety System Radio Operator: elements 1, 7.
GMDSS+ GMDSS Radio Maintainer + Radar: elements 1, 7, 8, 9.
RGMDSS Restricted GMDSS Radio Operator: elements 1, 7R.
q The question pool is selected interactively. This is needed when starting the application from an icon.
FILES
A directory ~/.fccexam is created to hold the names of the questions which remain to be answered correctly.
SEE ALSO
For more information regarding licensing, ref. http://wireless.fcc.gov/commoperators/index.htm?job=home
For information regarding amateur radio licensing (ham radio), see the package hamexam.
COPYRIGHT
fccexam is Copyright (c) 2011-2012 John Nogatch <jnogatch@yahoo.com>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
BUGS
The question pools, and number of questions required, are sometimes modified; ref. http://wireless.fcc.gov/commopera-
tors/index.htm?job=question_pools
Radiotelegraph Operator licenses also require Morse code proficiency elements, which are not provided by fccexam.
fccexam does not automatically update the question pools from the FCC Web site.
HAMEXAM(1)