Sponsored Content
Top Forums Shell Programming and Scripting Creating a dictionary with domain name adjuncted Post 302802607 by gimley on Saturday 4th of May 2013 03:17:57 AM
Old 05-04-2013
Many thanks. I tried the script. I first catted the file and spewed it out to a new input.
Next I applied the perl script but did not get any results. What did I do wrong.
I even tried to batch the operation. Assuming that ya was my input file, here is what I did.
Code:
cat -n ya2>out
perl -lne 
if (/^(.*?=)([^(]*)(.*)/)
{
($x,$y,$z)=($1,$2,$3);
print "$x$y" if $y ne "";
while ($z =~ m/(\([^(]+)/g) { print "$x$1" }
} out

But to no avail.
Many thanks for your help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dictionary File

Could someone please tell me where the dictionary file for Spell is stored. And is it in a text format so I can read it in a windows text editor. Thanks (1 Reply)
Discussion started by: Rukshan
1 Replies

2. UNIX for Dummies Questions & Answers

nt to unix dictionary

Has anyone ever encountered a good publication or site that is basically a NT(or DOS) to UNIX Dictionary / Translator (i.e. service = daemon or ren = mv, etc) - I've found lots of websites that list like 20 or so command equivalents, but that's about it- what about differences in system folders,... (3 Replies)
Discussion started by: gsumers
3 Replies

3. UNIX for Dummies Questions & Answers

unix dictionary location

ne1 know where unixs built in dictionary is??? is it in this place /usr/dict/words????? (1 Reply)
Discussion started by: sinner
1 Replies

4. UNIX for Advanced & Expert Users

dictionary words in vim

how can i get the dictionary words in vim using keyboard keys? and how can i get the current directory filename? (1 Reply)
Discussion started by: lakshmananindia
1 Replies

5. Shell Programming and Scripting

how to give dictionary effect ?

Hello, In google: if we type the text like :- It gives us a question saying :- I want to know how to write a shell script to give this Dictionary effect. example:If we give "lst" then it corrects us saying "list". Can you please help me with a sample code! friends..... (3 Replies)
Discussion started by: nsharath
3 Replies

6. UNIX for Dummies Questions & Answers

Unix dictionary.

Hey, I am looking for an inbuilt unix dictionary.I tried to look at the path /usr/dict/word and I do not find anything any dict directory in the /usr folder. Can anyone please tell me how to find out this dictionary? Thanks Lee. (1 Reply)
Discussion started by: leepan2008
1 Replies

7. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

8. Homework & Coursework Questions

How to create a dictionary using cygwin

1. The problem statement, all variables and given/known data: Create a dictionary using cygwin. Display the following menu at the start of execution 1-add a word in the dictionary # specify the meaning 2-search a word # if word exists, show the meaning of the word 2-delete a word... (2 Replies)
Discussion started by: kpopfreakghecky
2 Replies

9. Programming

Python Web Page Scraping Urls Creating A Dictionary

I have thrown in the towel and cant figure out how to do this. I have a directory of html files that contain urls that I need to scrape (loop through) and add into a dictionary. An example of the output I would like is: bigbadwolf.htlm: https://www.blah.com, http://www.blahblah.com,... (5 Replies)
Discussion started by: metallica1973
5 Replies

10. Shell Programming and Scripting

Creating verbal structures from a dictionary and a template

My main aim here is to create a database of verbs in a language to Hindi. The output if it works well will be put up on a University site for researchers to use for Machine Translation. This because one of the main weaknesses of MT is in the area of verbs. Sorry for the long post but the problem... (4 Replies)
Discussion started by: gimley
4 Replies
WAEI(1) 						      General Commands Manual							   WAEI(1)

NAME
waei - Japanese-English dictionary SYNOPSIS
waei [options] pattern... DESCRIPTION
A dictionary program for Japanese-English translation. This is the console version of gwaei. OPTIONS
-n, --ncurses Open up the multisearch window -e, --exact Do not display less relevant results -d, --dictionary name Search using a chosen dictionary -l, --list Show available dictionaries for searches/install/uninstall -i, --install dictionary Install dictionary -u, --uninstall dictionary Uninstall dictionary -v, --version Check the waei version info -q, --quiet Display less information -c, --color Display results with color -h, --help Display help SEE ALSO
gwaei(1) AUTHOR
gwaei was written by Zachary Dovel <pizzach@gmail.com>. This manual page was written by Asumu Takikawa <asumu@simplyrobot.org>, for the Debian project (and may be used by others). July 13, 2009 WAEI(1)
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy