Hi all,
This should be very easy but I can't figure it out...
I have a file that looks like this:
@SRR057408.1 FW8Y5CK02R652T length=34
AGCAGTGGTATCAACGCAGAGTAAGCAGTGGTAT
+SRR057408.1 FW8Y5CK02R652T length=34
FIIHFF6666?=:88@@@BBD:::?@ABBAAA>8
@SRR057408.2 FW8Y5CK02TBMHV length=52... (1 Reply)
Hi,
I wrote a small program to read lines from a file and count the lines. The program is as below:
filename=$1
count=0
cat $filename | while read -r line
do
printf "%5d:%s\n" $count "$line"
count=$((count + 1))
done
echo " $count "
After I run the program, the result is... (4 Replies)
Hi friends,
I am looking for sed command/script that would search for a given fixed pattern on odd lines and then if it matches, prints the matching pattern and the next line. For example, in the example below, i am looking for pattern 0 and 1011 on odd lines.
########## start of example file... (10 Replies)
Hello people,
I am trying with sed to insert some text at the beginning of each odd line of a file but no luck. Can you please help. Awk is also suitable but I am not very familiar with it.
Thank you in advance for any help. (7 Replies)
value=$(some command)
for all in `echo $value`
do
awk checks each value (all) to see if it is a odd number. if so, prints the value
done
sounds easy enough but i've been unable to find anything on google. (2 Replies)
Hello,
I'm here again asking for your precious help.
I'm writing some code to convert csv files to html.
I want to highlight header and also I want to have rows with alternate colors.
So far this is my work###Let's format first line only with some color
cat $fileIN".tmp1" | sed '1... (7 Replies)
Hello experts,
I wish to print the contents of odd-even numbered indices of an array.
The problem statement is as follows :
1. The first line contains an integer, (the number of test cases).
2. Each line of the subsequent lines containing a string.
Example:
2
Haider
Bash
... (4 Replies)
In the below directory I am trying to delete all lines with a .bam extention that have the pattern IonCode_ followed by an even number. I am also trying to delete all lines with a .fastq extention that have the pattern IonCode_ followed by an odd number. I was going to use find but can see all... (6 Replies)
In the awk piped to sed below I am trying to format file by removing the odd xxxx_digits and whitespace after, then move the even xxxx_digit to the line above it and add a space between them. There may be multiple lines in file but they are in the same format. The Filename_ID line is the last line... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT SUSE
roma
ROMA(1) General Commands Manual ROMA(1)NAME
roma - compile a TEI ODD specification into schemas and dtd
SYNOPSIS
roma [options] oddfile outputdir
DESCRIPTION
This manual page is not meant to be exhaustive. There is some more information in the help files for the web version of Roma, and plenty
of background data about ODDs in the TEI Guidelines.
roma is used to generate XML RelaxNG or W3C schemas and DTDs from the the ODD source in oddfile and (optionally) some documentation to go
with them.
OPTIONS
roma accepts the following options:
--xsl URL
location of TEI XSLT stylesheets, defaulting to /usr/share/xml/tei/stylesheet
--teiserver URL
location of TEI eXist database server, defaulting to http://tei.oucs.ox.ac.uk/Query/
--doc create expanded documented ODD
--nodtd
suppress DTD creation
--norelax
suppress RelaxNG creation
--noxsd
suppress W3C XML Schema creation
--debug
leave temporary files, etc.
BUGS
If the ODD specification is internally inconsistent (eg some element has been deleted on which another element depends), then you may get a
Relax NG schema which is apparently OK, but which cannot be translated into W3C schema. Because the conversions to DTD and Relax are main-
tained separately, some constructs may cause one to fail but not the other. No attempt is made to trap error messages from trang which is
used to make W3C schemas.
SEE ALSO trang(1)TEI .. 9th May 2005 ROMA(1)