Hi All,
I'm working on a large file and need to extract all data between 2 strings. I have seen many good solutions to threads almost like my problem but none that quite fit.
This is all very new to me so any ideas would be really appreciated! (attempted to read sed and awk tutorials but got a... (9 Replies)
Hi,
I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines).
#################################
huge_file.txt
a
a
ab
b
##################################
small_file.txt
a 1.5
b 2.5
ab ... (4 Replies)
I have a file called po.txt. Here is the content of the file:
<!DOCTYPE PurchaseOrderMessage (View Source for full doctype...)>
- <PurchaseOrder>
- <Header>
<MessageId>cdb3062b-685b-4cd5-9633-013186750e10</MessageId>
<Timestamp>2011-08-01T13:47:23.536-04:00</Timestamp>
</Header>
-... (4 Replies)
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
I have one script which gave final output as the below statment.
Successfully added Nomination Petition Manifest to the Content Manager.
Now i want a sed statement which will search for this statement in any given file and print only Nomination Petition Manifest. I don't want to hardcore... (13 Replies)
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
I have two files and desire to use the strings from $1 of file 1 (file1.txt) as search criteria to find matches in $2 of file 2 (file2.txt). If matches are found I want to output the entire line of file 2 (file2.txt) followed by fields $2-$11 of file 1 (file1.txt). I can find the matches, I cannot... (7 Replies)
I cannot seem to get what should be a simple awk one-liner to work correctly and cannot figure out why. I would like to use patterns from a specific field in one file as regex to search for matching strings in the entire line ($0) of another file.
I would like to output the lines of File2 which... (1 Reply)
Hi All,
I hope somebody would be able to help me.
I would need to search a string coming from a file, example file.txt:
dog
cat
goat
horse
fish
For every string, I would need to know if there are any files inside a directory(recursively) that contains the string regardless of case.... (9 Replies)
Discussion started by: kokoro
9 Replies
LEARN ABOUT DEBIAN
rig
RIG(6) Games Manual RIG(6)NAME
RIG - Random Identity Generator
USAGE
rig [ -f | -m ] [ -d datadir ] [ -c num ]
DESCRIPTION
Rig is a utility that will piece together a random first name, last name, street number and address, along with a geographically consistant
(ie, they all match the same area) city, state, ZIP code, and area code.
It is suitable for such applications as feeding the NY times registration page to fend off junk (snail) mail and telemarketers, or for reg-
istering on BBS's to which you don't wish to reveal your real information.
OPTIONS -f, -m Respectively, use female and male names. If neither or both options are selected, RIG uses both female and male names.
-d datadir
Use data files found in datadir. Without this option, the default directory of /usr/share/rig is assumed.
-c num Output num identities. Default is 1.
FILES
/usr/share/rig/locdata.idx
/usr/share/rig/street.idx
/usr/share/rig/fnames.idx
/usr/share/rig/mnames.idx
/usr/share/rig/lnames.idx
HISTORY
Based on "fake" written for MS-DOS. Unfortunately the author and publish date are unknown.
First UNIX version written from scratch in 1999.
This manpage based on RIG version 1.10.
AUTHORS
UNIX version (c) 1999-2002 Ian Turner with contributions from Ian Prowell, Nick Rusnov, and Schneelocke. Geography Database is from the
original version and I believe it to be held in the public domain. Names database is from the US Census at
http://www.census.gov/genealogy/names/ , courtesy of Trent Stanley.
Send all comments and bug-reports to:
vectro@RIG.sourceforge.net
4 JUN 2002 RIG(6)