Hi ! All,
I have to delete first 2 characters from string. How its possible?
Like string value is "2001". I required output as "01"
Plaese help me.
Nitin (4 Replies)
Hi
In the shell scripted I'm trying to write!
I would like to test the last character in a string. The string is a path/directory and I want to see if the last character is a '/'.
The string (path/directory) is inputted by a user. If the '/' character isn't present then I want to be able to... (11 Replies)
HI
Hi I have a character string which contains some special characters and I need it to display as a hex string.
For example, the sample i/p string: ×¥ïA Å gïÛý and
the o/p should be : D7A5EF4100C5010067EFDBFD
Any pointers or sample code pls. (5 Replies)
If I have a string defined as:
MyString=abcde
echo $MyString
How can I loop through it character by character? I haven't been able to find a way to index the string so that I loop through it.
shew01 (10 Replies)
How to extract the last character of a string in bash?
---------- Post updated at 03:56 PM ---------- Previous update was at 03:55 PM ----------
Suppose "abcde" is a string. i want to extract the last character i.e. "e". (1 Reply)
This it to pring 'i' character.
#!/usr/bin/perl
$str="This is perl";
print $str;
Must i split the string to access a character from string?
How can i print characters individually using a for loop? (2 Replies)
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory.
(I know there is a way to do this with the ptrace interface but it is not an option.)
I know the only way to... (1 Reply)
Hi, I want to check out a word in the text file and generate a clear report for me to see...
The text file content:
Content:
............
20120608:
20120608:
............
20120608:
..........
2012031201: , hime]
End of the file
My expected output is:
Full TXT:
manatsu
TXT:... (3 Replies)
Hi,
Anyone can help using SED searches a character string for a specified delimiter character, and returns a leading or trailing space/blank.
Text file :
"1"|"ExternalClassDEA519CF5"|"Art1"
"2"|"ExternalClass563EA516C"|"Art3"
"3"|"ExternalClass305ED16B8"|"Art9"
...
...
... (2 Replies)
Discussion started by: fspalero
2 Replies
LEARN ABOUT DEBIAN
trna2sap
TRNA2SAP(1) NCBI Tools User's Manual TRNA2SAP(1)NAME
trna2sap - convert tRNAscan-SE output to an ASN.1 Seq-annot object
SYNOPSIS
trna2sap [-] [-a] [-c str] [-f str] [-i filename] [-j] [-m str] [-n str] [-o filename] [-p dir] [-r dir] [-s] [-t str] [-u] [-x str]
DESCRIPTION
trna2sap reads a text file produced by tRNAscan-SE and produces a corresponding ASN.1 Seq-annot in the format understood by other NCBI
tools.
OPTIONS
A summary of options is included below.
- Print usage message
-a Add tRNAscan-SE citation
-c str Comment
-f str Substring Filter
-i filename
Single Input file (standard input by default)
-j Just produce a five-column feature table, a la trna2tbl(1).
-m str ReMark
-n str Annotation Name (normally "tRNA").
-o filename
Single Output file (standard output by default)
-p dir Path to files
-r dir Path for Results
-s Ignore Pseudo tRNAs
-t str Annotation Title (normally "tRNAscan-SE").
-u Ignore Undetermined tRNAs
-x str File selection suffix with -p (.trna by default).
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO sequin(1), tbl2asn(1), trna2tbl(1).
NCBI 2006-01-11 TRNA2SAP(1)