cat myname.txt
John Doe I
John Doe II
John Doe III
-----------------------------------------------------------------------
for i in `cat myname.txt`
do
echo This is my name: $i >> thi.is.my.name.txt
done
-----------------------------------------------------------------------
cat... (1 Reply)
Hi guys...
I am new to this scripting...so please forgive me if anything worng in my questions...
here is my question..
I have file structure
/home/oracle/<sid>/logs/bkup
now i want to write a script which should grep the sid name from a file..and it should replace the <SID> with... (1 Reply)
Hello,
I'm new to shell scripting and did a search on the forum to what I want to do but couldn't find anything.
I have about 9 routers that outputs to 1 syslog file daily named cisco.year.mo.date.log ex: cisco.2009.05.11.log
My goal is to make a parsing script that cats today's syslog... (2 Replies)
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)
Hi,
I am facing issue while using scp. Source & target machines are Linux & HP-UX respectively.
On target machine, if I fire the following command, I get error:
Now if I try scp on another file, which is on the same source machine, it works fine.
All directories and subdirectories... (2 Replies)
I use the cat command to concatenate text files, but one of the rows I was expecting doesn't display in the output file. Is there a verbose mode\logging mechanism for the cat command to help me investigate where the lines I was expecting are going??
cat 7760-001_1_*_06_*.txt | grep -v... (1 Reply)
Hi All,
I have an input file containing data as below:
Input.DAT
XXXXXXX|YYYYYYY|ZZZZZZZZZZ|12334446456|B|YY|111111111|111111111|111111111|111111111|15|3|NNNNNN|Y|3|AAA|111111111... (11 Replies)
I have a file
# cat /root/llll
11
22
33
44
When I cat this file content to a variable inside a shell script and echo that shell script, it does not show up as separate lines. I need echo output similar to cat.
cat /root/shell_script.sh
#!/bin/bash
var=`cat /root/llll`
echo $var (2 Replies)
Hello,
I'm on a remote computer by SSH. How can I get the output of "cat file" into a file on the local computer?
I cannot use scp, because it's blocked.
something like:
ssh root@remote_maschine "cat /file" > /locale_machine/file
:rolleyes: (2 Replies)
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 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)