Hi All,
I have to count the number of occurences of the character " ; " in a given line.
I had used the following awk command to achieve the same
echo $KOP.dat|awk '{split($1,my,";"); for(i in my)c++ }END{print c-1}'
My file KOP.dat had the following data
... (1 Reply)
I have a string like this.
$str="The astrocyte profile might contribute to the identification of possible therapies in profiles profiling and profiled als.";
Lets consider for example:
a)If user enters the term profile* it should highlight profile,profiles only.
b)If user enters the... (3 Replies)
hi I hace a string
"abc,def,ghi,abc,def ,ghi,abc,def,ghi,abc,def ,ghi,abc"
i replaced commas with spaces, now i want to calculate nof occurences of "abc" word.
thanks in advance
Satya (6 Replies)
I have enclosed the script. I am able to find the files that contain my search string but when I try to count the occurences within the file I get zero always. Any help on this.
#!/usr/bin/perl
my $find = $ARGV;
my $replace = $ARGV;
my $glob = $ARGV;
@filelist = <*$glob>;
# process each... (22 Replies)
Hi,
i am in need of an awk script to accomplish the following:
Input table looks like:
Student1 arts
Student2 science
Student3 arts
Student4 science
Student5 science
Student6 science
Student7 science
Student8 science
Student9 science
Student10 science
Student11 science... (8 Replies)
what actually stored in the parity reserved on each slice in raid 5 configuration. how to restore the data if a disk is failed in raid5 configuration (1 Reply)
Hi I have a file with entries like below
top 5
a 5
b 4
c 3
d 2
e 1
top 5
b 5
d 4
c 3
e 2
a 1
top 5
e 5
d 4
c 3
b 2
a 1 (2 Replies)
Discussion started by: Viswanatheee55
2 Replies
LEARN ABOUT DEBIAN
untex
UNTEX(1) General Commands Manual UNTEX(1)NAME
untex - strip LaTeX comands from input
SYNOPSIS
untex [ options ] [ files ... ]
DESCRIPTION
Untex removes some LaTeX commands from the files listed in the arguments (or standard input) and prints the output to standard output.
OPTIONS
- read from standard input.
-o remove options to LaTeX commands, i. e. everything in brackets [] behind a command.
-i process "include{file}" and "input{file}" and "input file" commands.
-m (try to) remove all math code.
-u replace all "a (etc.) with ibm (CP850) characters.
-uiso replace all "a (etc.) with ISO characters.
-uascii
replace all "a (etc.) with ascii characters.
-g replace all "a (etc., from german.sty) with ibm (CP850) characters.
-giso replace all "a (etc., from german.sty) with ISO characters.
-gascii
replace all "a (etc., from german.sty) with ascii characters.
-e remove environment names.
-a remove arguments of commands (not recommended).
-g implies -u, -a implies -o.
SEE ALSO
latex, tex, detex
BUGS
The -g and -u options only work for german accented characters. Not fixed due to lack of time, any help is appreciated. The includeonly
command is ignored.
Using -u option in a UTF-8 terminal doesn't work. Using it alone in a Latin1 terminal doesn't work either, you must also add -uiso.
AUTHORS
Untex was written by Michael Staats (michael@hal6000.thp.Uni-Duisburg.DE). The -gascii and -uascii options were added by Denis Endisch
(denis@smoky.ikf.physik.uni-frankfurt.de). Thanks to Subhasish Mazumdar (mazumdar@ringer.cs.utsa.edu) for some hints for improvements and
bug reports.
4th Berkeley Distribution Version 1.2 1994 April 6 UNTEX(1)