Hi all,
I am new to unix shell scripting and I am trying to append batch number that comes in Trailer record to the detailed record.
TR|20080312|22881 |000000005|20080319|2202
LN|20080312|077777722220 |0000100000017|ABS
LN|20080312|000799439326 |0000709943937|AA
TR|20080313|22897 ... (6 Replies)
Hi,
Below is my script which creates a file:
#!/bin/sh
if
then
echo "Enter bill period "
echo "Syntax: sh cpd.sh G08"
exit
fi
sqlplus uname/pwd@dbname <<EOF
set WRAP off
set FEEDBACK off
set PAGESIZE 0
set VERIFY off (14 Replies)
Hi guys I need you ,please help me
i have to do this for tomorow and i don't understand how to do
Q1 : Order the words of RADIO.txt by frequency
Q2 : Order the words of RADIO.txt in alphabétique order
Q3 : Order the words of RADIO.txt par ordre "rhymique" (exemple, put togeder words which are... (1 Reply)
With an input file like this:
How can I get an output like this?
(In the quoted examples, the "_" sign represents an empty space)
Note that there are some minus signs and no spaces, in the example above the first character of the first line is an empty space, so each number spans 10... (16 Replies)
Is it possible to re-order certain rows as columns (of large files).
Few lines from the file for reference.
input
Splicing Factor: Tra2beta, Motif: aaguguu, Cutoff: 0.5000
Sequence Position Genomic Coordinate K-mer Score
97 chr1:67052604 uacuguu 0.571
147... (3 Replies)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Thanks for RudiC for his extraordinary help on organizing files in a batch of 10 using below code.
FL=($(ls));
for ((i=0;i<=${#FL};i++)); do
for j in ${FL:$i:10};
do
$batch ${j} ${j}.txt
done;
echo "Pausing for next iteration";
echo... (6 Replies)
Discussion started by: busyboy
6 Replies
LEARN ABOUT SUSE
cvtbatch
CVTBATCH(8) InterNetNews Documentation CVTBATCH(8)NAME
cvtbatch - Convert Usenet batch files to INN format
SYNOPSIS
cvtbatch [-w items]
DESCRIPTION
cvtbatch reads standard input as a sequence of lines, converts each line, and writes it to standard output. It is used to convert simple
batch files that contain just the storage API token of an article to INN batch files that contain additional information about each
article.
Each line is taken as a storage API token indicating a Usenet article. Only the first word of each line is parsed; anything following
whitespace is ignored. Lines not starting with a valid token are also silently ignored.
If the input file consists of a series of message-IDs, then use grephistory with the -s flag piped into cvtbatch.
OPTIONS -w items
The -w flag specifies how each output line should be written. The items for this flag should be chosen from the "W" flag items as
specified in newsfeeds(5). They may be chosen from the following set:
b Size of the article in bytes.
f Storage API token of the article (same as "n").
m Article message-ID.
n Storage API token of the article.
t Arrival time of the article as seconds since epoch.
The default is "nm", that is to say the storage API token followed by the message-ID of the article.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Julien Elie.
$Id: cvtbatch.pod 8776 2009-11-15 09:24:06Z iulius $
SEE ALSO grephistory(1), newsfeeds(5).
INN 2.5.2 2009-11-15 CVTBATCH(8)