9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
friends that way I can validate that the value is numeric taken
instance
var = 12re
if var = numeric then a
echo "Numerical
else
echo "not mumerico"
fi
edit by bakunin: please use CODE-tags for code, data and terminal output (yourself). (9 Replies)
Discussion started by: tricampeon81
9 Replies
2. UNIX for Dummies Questions & Answers
I'm new to Unix and I have been trying to fix this problem for the past week.
How would I use grep to display only certain numbers for a list. For example, if I have this list:
Joe senior 4/50
John junior 25/50
Mary junior 41/50
Martha sophomore 2/50
...How do I get a file... (1 Reply)
Discussion started by: PTcharger
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a very large csv file with almost 100,000 columns and 200 rows
Example.csv
ID,field1,field2,field3,field4
A,5,6,7,8
B,1,2,3,4
C,3,5,6,7
I'm trying to find a way, using awk, to log (base 2) all the values in the table (minus the headers and id field)
Output ... (5 Replies)
Discussion started by: nemo246
5 Replies
4. Shell Programming and Scripting
hi all,
I have oracle table which has like below example in col7 & col8 there will be values seperated , in one column it is kind of horizontal pivoting but the data is in 1 column seprated ,
In near future this col7 and col8 may have some more values
col7 * col8 that many records it... (1 Reply)
Discussion started by: marpadga18
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have been working on this problem, but could only get so far. I have a file that looks like this
(cat,chimp,(((dog,cat,cow),orangutan),((horse,((cat,dog),(cow,pig))),cat,mouse,rat)));
I would like after each instance of the word 'cat' to have an incrementing numerical label.
I... (5 Replies)
Discussion started by: cavanac2
5 Replies
6. Shell Programming and Scripting
Hi,
I am trying to edit an XML file automatically but my regex and shell script knowledge is very limited. I would appreciate your help fellows.
The XML file has this structure:
<?xml version="1.0" encoding="UTF-8"?>
<map map_file="maps/world.swf" zoom="350%" zoom_x="-115%"... (1 Reply)
Discussion started by: boonymagique
1 Replies
7. UNIX for Dummies Questions & Answers
Hi, All,
I want to calculate a specific value of a Gaussian distribution, say the mean is a=3, variance is b=5, the indepentent variable is x=2, how could I get the y which is the Gaussian distribution value of x.
Thanks,
Jenny (1 Reply)
Discussion started by: Jenny.palmy
1 Replies
8. Shell Programming and Scripting
I need to distinguish between numerical characters in a script:
echo "Enter a number."
read num
if (( $num = * )) ; then
exit 0
fi
this RegX does not work.
Any suggestions? (5 Replies)
Discussion started by: prkfriryce
5 Replies
9. Shell Programming and Scripting
I'm tryning to do something like this,
I have this file:
spaces12tabgoodbye
spaces3tabhello
I want to copy to another file the lines that have the number above 10...
I thought using sort -rn but I don't know how to discard the lines that have the number below 10.
Any idea?
Thanks (3 Replies)
Discussion started by: pmpx
3 Replies
CVTBATCH(8) System Manager's Manual CVTBATCH(8)
NAME
cvtbatch - convert Usenet batch file to INN format
SYNOPSIS
cvtbatch [ -w items ]
DESCRIPTION
Cvtbatch reads standard input as a series of lines, converts each line, and writes it to standard output. It is used to convert simple
batchfiles that contain just the article name to INN batchfiles that contain additional information about each article.
Each line is taken as the pathname to a Usenet article. If it is not an absolute pathname, it is taken relative to the spool directory,
/var/spool/news. (Only the first word of each line is parsed; anything following whitespace is ignored.)
OPTIONS
-w 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 article in bytes
f full pathname of article
m article message-id
n relative pathname of article
If the input file consists of a series of Message-ID's, then use grephistory(1) with the ``-s'' flag piped into cvtbatch.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.4, dated 1996/10/29.
SEE ALSO
grephistory(1) newsfeeds(5).
CVTBATCH(8)