10-17-2012
Request to check
Hi
Thanks for reply. I am matching a specific entry to fetch the description heading details only for each drug card if entry will match that why I think I have to use some other commands as well
Kindly guide if possible.
Mani
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a file like this,(This is a sql output file)
cat query_file
200000029
12345 10001
0.2 0
I want to fetch the values 200000029,10001,0.2 .I tried using the below code but i could get... (2 Replies)
Discussion started by: girish.raos
2 Replies
2. Shell Programming and Scripting
Hi,
I have text file in the following strucher .
The files contain hondreds of lines.
value1;value2;value3;value4
I would like to get back the line with lowest date (values4 field).
In this case its line number 3.
groupa;Listener;1;20110120162018
groupb;Database;0;20110201122641... (4 Replies)
Discussion started by: yoavbe
4 Replies
3. Shell Programming and Scripting
Hi
i have a file which have a pattern like this
Nov 10 session closed
Nov 10 Nov 9 08:14:27 EST5EDT 2010 on tty .
Nov 10 Oct 19 02:14:21 EST5EDT 2010 on pts/tk .
Nov 10 afrtetryytr
Nov 10 session closed
Nov 10 Nov 10 03:21:04 EST5EDT 2010
Dec 8 Nov 10 05:03:02 EST5EDT 2010
... (13 Replies)
Discussion started by: Himanshu_soni
13 Replies
4. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies
5. Shell Programming and Scripting
Hi Guys
This time my input sample from a Big file like this
In
TTDS00002 UniProt ID P11229
TTDS00002 Name Muscarinic acetylcholine receptor M1
TTDS00002 Type of target Successful target
TTDS00002 Synonyms M1 receptor
TTDS00002 Disease Alzheimer's disease... (13 Replies)
Discussion started by: Priyanka Chopra
13 Replies
6. Shell Programming and Scripting
Hi all,
I have following sample input file which is a part of big file:
ID AINX_HUMAN Reviewed; 499 AA.
AC Q16352; B1AQK0; Q9BRC5;
DT 30-MAY-2000, integrated into UniProtKB/Swiss-Prot.
DT 23-JAN-2002, sequence version 2.
DT 28-NOV-2012, entry version 123.... (2 Replies)
Discussion started by: kareena
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have logfile like this..
=== 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2015-02-09... (8 Replies)
Discussion started by: kishk
8 Replies
9. Shell Programming and Scripting
Hi,
I have a file with hundreds of lines. I want to search for particular lines starting with 4000, search and replace the 137-139 position characters; which will be '000', with '036'. Can all of this be done without opening a temp file and then moving that temp file to the original file name.
... (7 Replies)
Discussion started by: dsid
7 Replies
10. UNIX for Beginners Questions & Answers
Hi ,
I have a file which contains 2 days logs(here it is 24 and 25)
I want to list data only for date 25 fron the file.
please suggest me how should i get this.
file content mentioned below
17-05-24 Name Succ Fail
00:00:29 ... (5 Replies)
Discussion started by: scriptor
5 Replies
DICT(7) Miscellaneous Information Manual DICT(7)
NAME
dict - dictionary browser
SYNOPSIS
dict [ -k ] [ -d dictname ] [ -c command ] [ pattern ]
DESCRIPTION
Dict is a dictionary browser. If a pattern is given on the command line, dict prints all matching entries; otherwise it repeatedly accepts
and executes commands. The options are
-d dictname
Use the given dictionary. The default is oed, the second edition of the Oxford English Dictionary. A list of available dictionar-
ies is printed by option -d?.
-c command
Execute one command and quit. The command syntax is described below.
-k Print a pronunciation key.
Patterns are regular expressions (see regexp(6)), with an implicit leading and trailing Patterns are matched against an index of headwords
and variants, to form a `match set'. By default, both patterns and the index are folded: upper case characters are mapped into their lower
case equivalents, and Latin accented characters are mapped into their non-accented equivalents. In interactive mode, there is always a
`current match set' and a `current entry' within the match set. Commands can change either or both, as well as print the entries or infor-
mation about them.
Commands have an address followed by a command letter. Addresses have the form:
/re/ Set the match set to all entries matching the regular expression re, sorted in dictionary order. Set the current entry to the first
of the match set.
!re! Like /re/ but use exact matching, i.e., without case and accent folding.
n An integer n means change the current entry to the nth of the current match set.
#n The integer n is an absolute byte offset into the raw dictionary. (See the A command, below.)
addr+ After setting the match set and current entry according to addr, change the match set and current entry to be the next entry in the
dictionary (not necessarily in the match set) after the current entry.
addr- Like addr+ but go to previous dictionary entry.
The command letters come in pairs: a lower case and the corresponding upper case letter. The lower case version prints something about the
current entry only, and advances the current entry to the next in the match set (wrapping around to the beginning after the last). The
upper case version prints something about all of the match set and resets the current entry to the beginning of the set.
p,P Print the whole entry.
h,H Print only the headword(s) of the entry.
a,A Print the dictionary byte offset of the entry.
r,R Print the whole entry in raw format (without translating special characters, etc.).
If no command letter is given for the first command, H is assumed. After an H, the default command is p. Otherwise, the default command
is the previous command.
FILES
/lib/oed/oed2
/lib/oed/oed2index
Other files in /lib.
SEE ALSO
regexp(6)
SOURCE
/sys/src/cmd/dict
BUGS
A font with wide coverage of the Unicode Standard should be used for best results. (Try /lib/font/bit/pelm/unicode.9.font.)
If the pattern doesn't begin with a few literal characters, matching takes a long time.
The dictionaries are not distributed outside Bell Labs.
DICT(7)