Sponsored Content
Full Discussion: Simple awk script question
Top Forums Shell Programming and Scripting Simple awk script question Post 58957 by Bab00shka on Monday 6th of December 2004 10:07:16 AM
Old 12-06-2004
MySQL

Hi ZB

That works!

Many thanks again for your help
Cheers
Helen Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Simple awk If Satement question.

Trying to write an if statement, which calls2 or 3 functions from within it. code: {if (($34 != "") && (NR != 1) && ($1 != "F")) less_than(34, 0, "S1002a") is_number(34,"S1002a") } But this is only treating the first function call, as part of the if. and always executes is_number.... (1 Reply)
Discussion started by: natdeamer
1 Replies

2. UNIX for Dummies Questions & Answers

simple awk question

Hello, I'm trying to use awk to print lines that match a regular expression. I am using awk to print a record only if it contains N/A. awk '/N/A/ {print $1}' When executed the script returns "awk syntax error near line 1". If I use /N//A/ it prints all records containing a "/", not... (2 Replies)
Discussion started by: orahi001
2 Replies

3. UNIX for Dummies Questions & Answers

simple awk question

Hi , I have a simple question in awk, i have long string which i am getting for a grep command. the output contains 50 fields. I need to display like first 5 fileds in a line and rest of all fields in the next line. { for(i=5;i<NF;++i) s= $i; print $1,$2,$3,$4,$5,"\n",$s} Is the above... (1 Reply)
Discussion started by: senthilkumar_ak
1 Replies

4. Shell Programming and Scripting

simple awk/sed/tr question

I have a file CREATE TABLE DDD_EXT --- 1000 ( val u1 val u1 ); CREATE TABLE dsdasd_EXT --- 1323 ( val u1 val u1 ); CREATE TABLE AAAAAA_EXT --- 1222 ( val u1 val u1 ); CREATE TABLE E_EXT --- 11 ( val u1 val u1 (2 Replies)
Discussion started by: jville
2 Replies

5. Shell Programming and Scripting

simple awk question: split field with :

Hi, Probably a very weak question.. but I have tried all I know.. BPC0001:ANNUL_49542 0.0108 -0.0226 -0.0236 0.0042 0.0033 -0.0545 0.0376 0.0097 -0.0093 -0.032 Control BPC0002:ANNUL_49606 0.0190 -0.0142 -0.0060 -0.0217 -0.0027 ... (3 Replies)
Discussion started by: genehunter
3 Replies

6. UNIX for Dummies Questions & Answers

Simple AWK question

Hi, let's assume i have an output below: orgauser 23826 :E:Validity senerse 2096 senerse 2111 senerse 21585 senerse 21596 root 12653 -bash root 17262 root 17278 Some lines have not any string in their third column. I don't want to see those lines. i just want to see the lines... (3 Replies)
Discussion started by: oduth
3 Replies

7. UNIX for Dummies Questions & Answers

awk simple question

Can anyone tell me please what the "+" is doing in this awk command? find / -user smith -type f -ls | awk '{ sum += $7 } END {print sum }' Thanks, George (2 Replies)
Discussion started by: george_vandelet
2 Replies

8. Shell Programming and Scripting

Simple awk question

Hi All, A very silly question: How to just print the integer attached a particular string in a line by awk? Ex: Happy_world_foo123...So i just want the value 123 to be printed on the line where we have string "foo". Thanks (16 Replies)
Discussion started by: Indra2011
16 Replies

9. Shell Programming and Scripting

awk help - Simple question

I have what a think is a simple question but I'm just a beginner in scripting. I'm my unix command line I run a date command that returns the following: Wed Apr 3 10:39:30 EDT 2013 How do I awk out the "10" only in awk? Or is awk the way to do it or is there a better way? (7 Replies)
Discussion started by: scj2012
7 Replies

10. Shell Programming and Scripting

Simple awk question

Here is an awk line I have in a bigger script that checks to see if nimsh process is running and does couple other things based on the output and runs on all servers. ps -ef|grep -i nimsh|awk '{print $9}' and I am expecting output to be "/usr/sbin/nimsh" I find that on some servers... (4 Replies)
Discussion started by: kvosu
4 Replies
NTDPAL(1)						       Primer3 User Manuals							 NTDPAL(1)

NAME
ntdpal - Provides Primer3's alignment functionality SYNOPSIS
ntdpal [-g gval] [-l lval] [-m mval] [-f1, f2, f3] [-p] [-s] [-e] {seq1} {seq2} {mode} DESCRIPTION
Ntdpal (NucleoTide Dynamic Programming ALignment) is a stand-alone program that provides Primer3's alignment functionality (local, a.k.a. Smith-Waterman, global, a.k.a. Needleman-Wunsch, plus "half global"). OPTIONS
-g gval gval is a (positive) float (.01 precision) specifying penaltiy for creating a gap respectively (the penalties are subtracted from the output score) -l val lval is a (positive) float (.01 precision) specifying penaltiy for lengthening a gap respectively (the penalties are subtracted from the output score) -a Causes the scoring matrix to be modified by dpal_set_ambiguity_codes. -e Causes the end postion of the alignment in both sequences to be printed. Do not confuse with the 'e' mode. -f1, -f2, -f3 Force specific implementations. -f2 forces use an implementation that might provide more informative error messages, possibly at the expense of some speed. -h Use a different scoring matrix: G and C matches = 3, A and T = 2, and mismatches = -0.5. (The default scoring matrix assigns 1 to a match, and -1 to a mismatch.) -p Causes the alignment to be displayed on stderr. -s causes only the score to printed. -m mval is the maximum allowed gap (default is 3). seq1 and seq2 are the sequences to be aligned. mode is one of g, G, l, or L specifying a global, global end-anchored, local, or local end-achored alignment respectively. For backward compatibility e is equivalent to G. REFERENCE
Please cite Rozen, S., Skaletsky, H. "Primer3 on the WWW for general users and for biologist programmers." In S. Krawetz and S. Misener, eds. Bioinformatics Methods and Protocols in the series Methods in Molecular Biology. Humana Press, Totowa, NJ, 2000, pages 365-386. SEE ALSO
primer3_core(1) oligotm(1) COPYRIGHT
Copyright (C) 1996,1997,1998,1999,2000,2001,2004,2006,2007,2008 Whitehead Institute for Biomedical Research, Steve Rozen (http://jura.wi.mit.edu/rozen), Helen Skaletsky All rights reserved. On Debian-based systems, please consult /usr/share/doc/primer3/copyright to read the licence of ntdpal. This manual page was written by Charles Plessy <plessy@debian.org> for the Debian(TM) system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the same terms as oligotm itself. ntdpal 1.1.4 05/09/2008 NTDPAL(1)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy