10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
How can i display the middle line of a file using a single line command? (6 Replies)
Discussion started by: Lakme Pemmaiah
6 Replies
2. Shell Programming and Scripting
I'm doing some integrity checeking. I Have found if the file contains an "invalid" entry (Zipcode +4). What I'm looking to do is modify the data so that it's just the 5 digit zipcode. I found a couple of helpful posts, but nothing that I could apply to my situation.
Here's a sample input (note... (6 Replies)
Discussion started by: defjab
6 Replies
3. Shell Programming and Scripting
Hi all ,
I'm new to unix
I have a checked project , there exists a file called xxx.config .
now my task is to find all the files in the checked out project which references to this xxx.config file.
how do i use grep or find command . (2 Replies)
Discussion started by: Gangam
2 Replies
4. Shell Programming and Scripting
Input:
qwertmyuiop
It should print "m".
What's the command to do this with sed? (6 Replies)
Discussion started by: cola
6 Replies
5. UNIX for Dummies Questions & Answers
This is probably common knowledge, but I am a beginner at bioinformatics!
I want a list of my sequence names, without sequence or any of the free text after the space. This is some example file:
>cow|68989024|dbj|AB107582.1| Uncultured bacterium gene for 16S rRNA, partial se
quence, clone:... (7 Replies)
Discussion started by: kkohl78
7 Replies
6. Shell Programming and Scripting
Hi,
I'm currently working on a shell script to automate a backup check on oracle database. My requirement is to grep the words between two delimiters and pass on to a variable..
for ex I have following values in my log file...
(DB_NAME), (163.24 25), (16/02/10 23:40), (COMPLETED),
I want... (5 Replies)
Discussion started by: senthil3d
5 Replies
7. Shell Programming and Scripting
Hi,
I want to know how to grep space.
Eg: input file contains
1565432 432 546
3514432 432 545
6541332 432 354
5464412 565 355
8456145 546 534
5632465 432 654
From this i need output of the lines which has 432 which are bold.
My requirement is whenever 432 comes... (3 Replies)
Discussion started by: rakeshbharadwaj
3 Replies
8. Shell Programming and Scripting
field 12345 12345
field 12345
field 12345 123456
last fleld (from three) is optional, but if it occures It has to be composed only of nummbers and maximum 5 positions long.
If I use:
grep "^field \{5\}"
I get:
field 12345 12345
field 12345
field 12345 123456
But I wont... (11 Replies)
Discussion started by: necroman08
11 Replies
9. UNIX for Dummies Questions & Answers
I'm hoping that there is a way to do this. I'm sure I won't be able to get the answer I need on the deadline I need it...but at least I'll learn how to solve this problem.
I have a file that looks like this:
(00:14:25\$ head -27 QNHDSPACEDVR
Name: PollDhctAVFSInfo 00:0F:21:4B:00:6A
Name:... (2 Replies)
Discussion started by: DeCoTwc
2 Replies
10. Shell Programming and Scripting
How can
grep G.*schema
give me the result: ${Gacntg_dt}""'"'
doesn't G.*schema say give me an unlimited number of characters between G and schema?
:confused: (3 Replies)
Discussion started by: danmauer
3 Replies