10-18-2005
Hi Jim,
Lets say if I am to duplicate ABC for 200 times, how do I put it into a control loop.
Sorry to make you spoon fed, I am trying to help my friend who need a fast solution for her assignment.
Thanks a lot.
cheers,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/sh
rpt="/export/home/legato/rpt_offsite"/test_eject.tape
cat <$rpt
while read line
do
echo $line
perform routine
done
I am trying to read the contents of this file line by line and perform a routine for each line read.
The file contents are numbers..
What is wrong with my... (1 Reply)
Discussion started by: gzs553
1 Replies
2. Shell Programming and Scripting
First I' d like to say you guys are awesome. :)
I have a word document that I cut and paste into Textpad and it removed all the fancy formatting which is fine with me. I WinScp'd it to the box and and called it inputfile.txt.
Opened it in vi and don't see any special characters or stuff that... (2 Replies)
Discussion started by: zilla30066
2 Replies
3. Shell Programming and Scripting
I am trying to read input for a C program (that expects input from the user) from a file using the shell command:
progname < filename
but it seems that the program considers the char '<'
as the first input, hence causing an "error" in my program.
I checked it with another program and it... (2 Replies)
Discussion started by: nadbar
2 Replies
4. Shell Programming and Scripting
Hi guys,
I am new to AWK and unix scripting. Please see below my problem and let me know if anyone you can help.
I have 2 input files (example given below)
Input file 2 is a standard file (it will not change) and we have to get the name (second column after comma) from it and append it... (5 Replies)
Discussion started by: sksahu
5 Replies
5. Shell Programming and Scripting
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies
6. Shell Programming and Scripting
I need to know how the the string constant from Input File should be read and provide as input data for the script .
INPUT FILE
CONST VARIABLE
myname=/root/dir/syslog/myname1
myname=/root/dir/syslog/myname2
myname=/root/dir/syslog/myname3
urname=/root/dir/syslog/urname1... (6 Replies)
Discussion started by: baraghun
6 Replies
7. Shell Programming and Scripting
Hello,
I've been trying to come up with a solution for the following problem; I have an input file with two columns and I want to print as an output the first column without any changes but for the second column, I want to divide it by its last value. Example input:
1 9
2 10
3 11
4 12
5... (14 Replies)
Discussion started by: acsg
14 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need to read the date from the input file. The format of the input file is as follows:
a_b_c_yyyymmdd.txt
I need to read the date(yyyymmdd) part from the name of the input file.
Would really appreciate if someone can help me in this regard
Thanks a lot. (1 Reply)
Discussion started by: Sunny_teotia
1 Replies
9. Shell Programming and Scripting
Hi,
Could someone let me know how to read input from a web page into a unix file.
I am writing my script in bash shell in Solaris version.
Thanks in advance,
ayarlaga. (7 Replies)
Discussion started by: ayarlaga
7 Replies
10. UNIX for Dummies Questions & Answers
I am not able to capture the user input in this script(bash).There is prompt for user input.Could some one help me capture user input while reading afile?
while read line
do
echo "$i"
path1=$line
path2=`echo $line|sed s/new_dir/old_dir/`
echo "Do you want to replace?";... (4 Replies)
Discussion started by: parijat guh
4 Replies
LEARN ABOUT DEBIAN
asn2ff
ASN2FF(1) NCBI Tools User's Manual ASN2FF(1)
NAME
asn2ff - convert ASN.1 biological data to a flat format (old version)
SYNOPSIS
asn2ff [-] [-A X] [-B X] [-C] [-G] [-L F] [-M] [-R] [-V F] [-a filename] [-b] [-d] [-e] [-f b/p/e/s/x/z] [-g] [-h F] [-k F] [-l filename]
[-m r/d/s/c/k/l/e/p] [-n F] [-o filename] [-p F] [-q] [-r filename] [-s] [-t] [-v F] [-w] [-y] [-z]
DESCRIPTION
asn2ff converts descriptions of biological sequences from NCBI's ASN.1 format to one of several flat-file formats. This program is built
around a deprecated interface; please use asn2gb(1) instead.
OPTIONS
A summary of options is included below.
- Print usage message
-A X Show region starting at X (default is 0)
-B X Show region ending at X (default is last position)
-C Show Bankit comments
-G Output is one top bioseq only in genome view
-L F Use old (pre-Genbank 127.0) LOCUS line format
-M Output is map bioseqs only
-R For GenBank Release
-V F Don't use VERSION
-a filename
Filename for ASN.1 input (default is stdin)
-b Input asnfile in binary mode
-d Use SeqMgr indexing
-e Input is a Seq-entry
-f b/p/e/s/x/z
Output Format:
b GenBank (default)
p GenPept
e EMBL
s PseudoEMBL
x GenBankSelect
z EMBLPEPT
-g Show gi numbers
-h F Hide sequence
-k F Don't use complex sets (phy-set,mut-set, pop-set)
-l filename
Log errors to filename
-m r/d/s/c/k/l/e/p
Output mode:
r release (default)
d dump
s Sequin
c Chromoscope
k dir-sub-debug
l dir-sub
e revise
p partial report
-n F Strict gene_binding
-o filename
Output Filename (default is stdout)
-p F Omit new gene features
-q Output is one top bioseq only
-r filename
Output error logfile (default is stderr)
-s Input is a Seq-submit
-t Show verbose message text
-v F Suppress error messages
-w Use HTML output format
-y Print help format only
-z New algorithm for orgnames
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO
asn2all(1), asn2asn(1), asn2fsa(1), asn2gb(1), asn2xml(1), asndhuff(1).
NCBI
2005-05-16 ASN2FF(1)