The line is simple, use " '{ print $1"]"$2"\"$3THE " NEEDS TO GO HERE$4 }'
I've tried \", "\, ^" and '"" but none of it works. What am I missing? Putting in the [ between $1 and $2 works fine, I just need to do the same with a ".
Thanks. (2 Replies)
I have a file that comes in as 20081002_invoices.txt and needs to go out as
invoices(20081002).xls When ran this file should have three seperate fields as follows:
column1 column2 column3
data1 data2 data3
when i run the script it produces the invoices(20081002).xls but moves... (1 Reply)
Hi All,
I am very new in programming. I need some help.
I have one input file like:
Number of disabled taxa: 9
Loading mapping file: ncbi.map
Load mapping:
taxId2TaxLevel: 469951
--- Subsample reads (20%): 66680 of 334386
Processing: tree-from-summary
Running tree-from-summary... (21 Replies)
Actually I got a list of file end with *.txt
I want to use the same command apply to all the *.txt
Thus I try to find out the fastest way to write those same command in a script and then want to let them run automatics.
For example:
I got the file below:
file1.txt
file2.txt
file3.txt... (4 Replies)
I`m having output file which contain following no which changes every time i run script.The number given below are there in file and i have to fatch them from file.
12
15
56
158
365
165
598
568
265
256
258
now i want to use above number from output to input as $j
r=`/omp/bin/ICIC... (1 Reply)
Hi Everyone,
I have two files i.e. one file2 contains today's data and the other file1 contains Yesterday's data.
The data in the files contains 226 columns and the data for the coulums separated by a Pipe "|" delimiter.
Now, I have 4 Primary keys (coulumns) by which I have to compare file2 and... (10 Replies)
Hi
I am writing a perl script which checks for the specific column values from a file and writes to the OUT file.
So the feed file has a header information and footer information.
I header information isaround107 lines i.e.
Starts with
START-OF-FILE
.......
so on ....
... (11 Replies)
Hi guys!
So I have a program that allows the user to enter a file, change some characters (for example, a changes to t, etc.) and then save the new file under a new name. However, I need to press carriage return twice for the program to end. I was just wondering if anyone knew of a way for the... (2 Replies)
Hi,
I'm trying to use pyExcelerator's module "xls2csv" converter in ubuntu.
The following works great, except the standard out is in the terminal.
sudo python xls2csv.py test.xls
I want the csv delimited output to be redirected to a file. When I enter....
sudo python xls2csv.py test.xls... (5 Replies)
Good day, I am trying to run the following command but it does not seem to work.
# mysql -pPassword asteriskcdrdb -s -b -e "select 'Account ID','Destination','Operator','Provider','Date','BillSec','Rate id','Cost' UNION select accountcode,dst,'PBX',route_name,date_format(calldate,'%Y/%c/%e... (8 Replies)
Discussion started by: esgaroth32
8 Replies
LEARN ABOUT DEBIAN
bp_einfo
BP_EINFO(1p) User Contributed Perl Documentation BP_EINFO(1p)NAME
einfo.pl - query einfo to find all available databases or information about a
specific database (field information or links to other NCBI
databases)
SYNOPSIS
einfo [-d database] [-f Field Code] [-l Link Name] [-o outfile]
DESCRIPTION
Command line options:
-e/--email
Valid email (required by NCBI policy)
-d/--db/--database
NCBI database to query
(default = none, which shows available databases)
-f/--field
print out information about a specific field code
(default = none)
-l/--link
print out information about a specific link name
(default = none)
-o/--out
outfile
(default = STDOUT)
-h/--help
show this documentation
As per NCBI's policy regarding eutils access, a valid email is required. This is not enforced here (if one is provided you will get a
standard warning), but don't be surprised if this doesn't work after June 1, 2010 unless one is supplied.
If -d is not specified, field and link arguments are ignored and all available databases are printed instead.
If either link names or field codes (or both) are specified, nothing else is printed out (only the info requested). You can specify as
many fields and/or links as you want by using multiple -f/-l <ARG> on the command line.
AUTHOR - Chris Fields
Chris Fields cjfields at bioperl dot org
perl v5.14.2 2012-03-02 BP_EINFO(1p)