06-29-2012
What architecture and OS version are you using?
An HP traditionally uses roman8 char set. You would have to use ISO... (cant remember...) what language are you using to have accents? (I have SF (swiss-french))
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I try to insert charcheters with accent with emacs.
It doesn't work.
How can I do ?
Thank you in advance (2 Replies)
Discussion started by: annemar
2 Replies
2. Shell Programming and Scripting
Hi everyone !
I'd like to write a unix command for correcting all european accent errors in a document (spanish, german, french, danisch, etc )!
i need to do this for correcting my document :
sed -e 's/%2B/\ /g' -e 's/%25C9/É/g' doc1 > doc2
The first command is ok and change "%2B" into... (3 Replies)
Discussion started by: Tomat75
3 Replies
3. Shell Programming and Scripting
I am new to shell scripting, and need a script to randomly distribute each character from a file into one of three new files. I also need each character to maintain it's position from the original file in the new file (such that if a character is written to File 1, Files 2 and 3 have spaces... (10 Replies)
Discussion started by: foxcastle
10 Replies
4. Shell Programming and Scripting
Hello All
in a text file I have to replace some numeric code by a string.
This is an exemple of the file:
000000001 LDR L ^^^^^nam^^2200169Ia^45e0
000000001 008 L 100604s9999^^^^xx^^^^^^^^^^^^000^0^und^d
000000001 022 L $$a0365-6675
000000001 090 L $$aBMA 1934-1937.
000000001 245... (1 Reply)
Discussion started by: ldiaz2106
1 Replies
5. Shell Programming and Scripting
Hi,
I am creating a script that will:
1. Connect to SFTP server
2. Get the file content's first 6 character (ddmmyy) and compare it to today's date (also in ddmmyy format). This is the header of the file. However, the header contains a few more information. So i need to only get the first 6... (0 Replies)
Discussion started by: cherriesh
0 Replies
6. Shell Programming and Scripting
Hello All
hope all fine,
I have a question about spanish accents...
I have in a redhat server, a lot of files with Ñ or Ú accent into the NAME of the file.
So my question is: Is it possible to change this name but with a script...to change all the occurence in one shot.
Exemple:
cd... (2 Replies)
Discussion started by: ldiaz2106
2 Replies
7. Shell Programming and Scripting
Hello all,
After searching through the similar topics and not finding a working solution, I decided to join and post my question (and maybe kill time and help other users).
Essentially I am trying to get a file from the sftp and then delete it after the file is pulled. all the sftp commands... (3 Replies)
Discussion started by: MarcMaiden
3 Replies
8. Shell Programming and Scripting
Hi friend,
i have the following problem:
when i am writting the below command on the command prompt , its working.
while read -n 1 ch; do echo "$ch" ; echo "$ch" ; done<file_name.out.
but when i am executing it after saving it in a ksh file, its not working.
Please helppppppppp .. thankss... (18 Replies)
Discussion started by: neelmani
18 Replies
9. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
10. AIX
Hi guys, I'm having a issue with a windows file from, at first the file is readed like one big and extense line and the famous "Ctrl+V Ctrl+R" or "^M return carriage"... fixed with:
perl -pe 'if ( s/\r\n?/\n/g ) { $f=1 }; if ( $f || ! $m ) { s/()\z/$1\n/ }; $m=1' $file_input > file_output
... (5 Replies)
Discussion started by: jockx
5 Replies
LEARN ABOUT DEBIAN
bp_index
BP_INDEX(1p) User Contributed Perl Documentation BP_INDEX(1p)
NAME
bp_index.pl - indexes files for use by bp_fetch.pl
SYNOPSIS
bp_index.pl index_name file1 file2 etc.
DESCRIPTION
bp_index.pl builds a bioperl index for the sequence files given in the argument list, under the index name. For example
bp_index.pl nrdb /data/nrdb/nrdb.fasta
would build an index called 'nrdb' as the index name for the file nrdb.fasta, and
bp_index.pl -fmt EMBL swiss /data/swiss/*.dat
would build an index called swiss for all the files in /data/swiss which end in .dat which are in EMBL format.
The indexes are built using the Bio/Index/* modules, in particular, Bio::Index::EMBL and the Bio::Index::Fasta modules. Any script which
uses these modules can use the index. A good example script is bp_fetch which fetches sequences and pipes them to STDOUT, for example
bp_fetch swiss:ROA1_HUMAN
gets the ROA1_HUMAN sequence from the swiss index and writes it as fasta format on STDOUT.
OPTIONS
-fmt <format> - Fasta (default), swiss or EMBL
-dir <dir> - directory where the index files are found
(overrides BIOPERL_INDEX environment variable)
Options for expert use
-type <db_type> - DBM_file type.
(overrides BIOPERL_INDEX_TYPE environment variable)
-v - report every index addition (debugging)
ENVIRONMENT
bp_index and bp_fetch coordinate where the databases lie using the enviroment variable BIOPERL_INDEX. This can be overridden using the -dir
option. There is no default value, so you must use the -dir option or set BIOPERL_INDEX.
The DB type is coordinated with BIOPERL_INDEX_TYPE which if it is not there, defaults to whatever the bioperl modules have installed, which
itself defaults to SDBM_File.
USING IT YOURSELF
bp_index.pl is a script that drives the Index modules. If you want to use this script heavily in your work, if it is Perl based, it is
almost certainly better to look at the code in this script and copy it across (probably you will be more likely to want to use the bp_fetch
code).
EXTENDING IT
bp_index is just a wrapper around James Gilbert's excellent Index modules found in bioperl
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Ewan Birney
Ewan Birney <birney@ebi.ac.uk>
perl v5.14.2 2012-03-02 BP_INDEX(1p)