08-01-2009
Thank you for all of your help, I think pludi answered my question.
10 More Discussions You Might Find Interesting
1. Programming
How do I use the regular expressions in c++? (2 Replies)
Discussion started by: szzz
2 Replies
2. Shell Programming and Scripting
How can i create a regular expression which can detect a new line charcter followed by a special character say * and replace these both by a string of zero length?
Eg:
Input File san.txt
hello
hi ... (6 Replies)
Discussion started by: sandeep_hi
6 Replies
3. Shell Programming and Scripting
Hi,
can anyone advise me how to shorten this:
if || ; then
I tried but it dosent seem to work, whats the correct way.
Cheers (4 Replies)
Discussion started by: jack1981
4 Replies
4. UNIX for Advanced & Expert Users
Hi,
below is a piece of code written by my predecessor at work.
I'm kind of a newbie and am trying to figure out all the regular expressions in this piece of code.
It is really a tough time for me to figure out all the regular expressions.
Please shed some light on the regular expressions... (3 Replies)
Discussion started by: ramky79
3 Replies
5. Shell Programming and Scripting
Hi,
I have a file as below,
{####
if file
then
file
else
file
}
print file
i need to fine the count of all the pattern - file, inside the { }
i'm using a grep command as
grep -c \{'*file*'\} fake.sh\
It doesn't gives me any result, i think the problem here is the... (5 Replies)
Discussion started by: divak
5 Replies
6. Shell Programming and Scripting
need a regex that matches when a number has a zero (0) at the end of it
so like
10
20
120
30
330
1000
and so on (6 Replies)
Discussion started by: linuxkid
6 Replies
7. Homework & Coursework Questions
Hi,
I am newbie in shell programming and I need some help.
I had some data and I format it in a file like
dn: uid=aaaaa, dc=exmple, dc=com
cn: bbbb cccc
sn: cccc
telephoneNumber:+30-6543-123456
I have to extract the information aaaaa , bbbb, cccc and the phone number
using awk... (3 Replies)
Discussion started by: pro
3 Replies
8. Shell Programming and Scripting
Hi
Ilove unix and alwyas trying to to learn unix,but i am weak in using regular expressions.can you please give me a littel brief discription that how can i understand them and how to use .your response could lead a great hand in my unix love. (1 Reply)
Discussion started by: manoj attri
1 Replies
9. UNIX for Advanced & Expert Users
Hi All,
Can please let me know what is the difference between the single line mode and multi line mode in regular expresions?
Thanks,
Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies
10. Shell Programming and Scripting
I need to pick a part of string lets stay started with specific character and end with specific character to replace using sed command
the line is like this:my audio book 71-skhdfon1dufgjhgf8.wav'
I want to move the characters beginning with - end before.
I have different files with random... (2 Replies)
Discussion started by: XP_2600
2 Replies
LEARN ABOUT DEBIAN
hamexam
HAMEXAM(1) General Commands Manual HAMEXAM(1)
NAME hamexam - Study guide for USA FCC amateur radio (ham radio) license examinations.
SYNOPSIS
hamexam [option]
DESCRIPTION
hamexam 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 Volunteer Examiners.
OPTIONS
If no pool is specified, usage, version, and help information is displayed.
In normal usage, one of the following options should be specified:
t Element 2, the Technician Class pool. This is the entry-level license.
g Element 3, the General Class pool (element 2 is also required).
e Element 4, the Extra Class pool (elements 2 and 3 are also required).
q The question pool is selected interactively.
FILES
A directory ~/.hamexam is created to hold the names of the questions which remain to be answered correctly.
SEE ALSO
For more information regarding licensing, ref. http://www.arrl.org/licensing-preparation-exams
For information regarding the question pools, ref. http://www.ncvec.org/
COPYRIGHT
hamexam 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 are normally good for 4 years, but are sometimes modified; ref. http://www.ncvec.org/
hamexam does not automatically update the question pools from the VEC Web site.
HAMEXAM(1)