10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am very new to shell scripting.
I have a autosys jil file that looks like :--
/* ------------- JOB1 ------------------ */
insert_job: JOB1 job_type: b
owner: cm@pelonmuck
permission: gx,ge,wx,we,mx,me
date_conditions: 1
days_of_week: mo,tu,we,th,fr,su
start_time: "18:30"... (9 Replies)
Discussion started by: newbie_shell
9 Replies
2. Shell Programming and Scripting
Hi
I have a big text file. I want to extract all the sentences that matches at least 70% (seventy percent) of the words from each sentence based on a word list called A.
Say the format of the text file is as given below:
This is the first sentence which consists of fifteen words... (4 Replies)
Discussion started by: my_Perl
4 Replies
3. Shell Programming and Scripting
I have two files. File1 is shown below.
>153L:B|PDBID|CHAIN|SEQUENCE
RTDCYGNVNRIDTTGASCKTAKPEGLSYCGVSASKKIAERDLQAMDRYKTIIKKVGEKLCVEPAVIAGIISRESHAGKVL
KNGWGDRGNGFGLMQVDKRSHKPQGTWNGEVHITQGTTILINFIKTIQKKFPSWTKDQQLKGGISAYNAGAGNVRSYARM
DIGTTHDDYANDVVARAQYYKQHGY
>16VP:A|PDBID|CHAIN|SEQUENCE... (7 Replies)
Discussion started by: nelsonfrans
7 Replies
4. Shell Programming and Scripting
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am trying to extract lines from a text file given a text file containing line numbers to be extracted from the first file. How do I go about doing this? Thanks! (1 Reply)
Discussion started by: evelibertine
1 Replies
6. Shell Programming and Scripting
Hi All,
I have a file which is like this:
rows.dat
1 2 3 4 5 6
3 4 5 6 7 8
7 8 9 0 4 3
2 3 4 5 6 7
1 2 3 4 5 6
I have another file with numbers like these (numbers.txt):
1
3
4
5
I want to read numbers.txt file line by line. The extract the row from rows.dat based on the... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
7. Shell Programming and Scripting
Hi ,
I have one xml file contains more than 60 lines. I need to extract some details from the file and store it in new file.Not the whole file
Please find the xml file below:
<?xml version="1.0" encoding="UTF-8"?>
<DeploymentDescriptors xmlns="http://www.tibco.com/xmlns/dd">
... (6 Replies)
Discussion started by: ckchelladurai
6 Replies
8. Programming
Hi ,
i have a text file that contain a story
How do i extract the out all the sentences that contain the word Mon. in C++
I only want to show those sentences that contain the word mon
eg.
Monkey on a tree.
Rabbit jumping around the tree.
I am very rich, I have lots of money.
Today... (1 Reply)
Discussion started by: xiaojesus
1 Replies
9. Shell Programming and Scripting
Hello,
I have two files that have delimited entries as shown below. I would like to use either Perl or Shell script to extract all the rows in File 1 corresponding to values in File 2 and output it to another File.
File 1
-------
1 36 24 Object1
2 45 36 Object2
3 96 ... (1 Reply)
Discussion started by: Gussifinknottle
1 Replies
10. Shell Programming and Scripting
Hi i have following file
uuid ( RO) : 62701790-60da-dd9a-669d-a563aac1c435
host-uuid ( RO): 5f3f668d-a7c7-4e5f-a4a6-6e90fafb50ed
sr-uuid ( RO): 62103d07-e0aa-acf3-2d9f-414ad3377bd0
device-config (MRO): location: /dev/xapi/block
... (6 Replies)
Discussion started by: bp_vardhaman
6 Replies
EMPTY-PAGE(1) ExactImage Manual EMPTY-PAGE(1)
NAME
empty-page - empty page detector of the ExactImage toolkit
SYNOPSIS
empty-page [option...] {-i | --input} input-file
empty-page {-h | --help}
DESCRIPTION
ExactImage is a fast C++ image processing library. Unlike many other library frameworks it allows operation in several color spaces and bit
depths natively, resulting in low memory and computational requirements.
empty-page counts dark pixels of a black and white image and decides with a threshold whether the page is most probably empty, and thus can
be removed from the image processing stream.
OPTIONS
-i file, --input file
Read image from the specified file.
-m n, --margin n
Set width of border margin to skip. For speed reasons, the margin has to be a multiple of 8. The default is 16.
-p x, --percentage x
Set fraction of permissible dark pixels. The default is 0.05 (5%).
-h, --help
Display help text and exit.
EXAMPLES
$ empty-page -i test.tif
The image has 75461 dark pixels from a total of 1060992 (7.11231%).
non-empty
EXIT STATUS
The exit status is 0 if the image is mostly white, 1 otherwise.
SEE ALSO
exactimage(7)
AUTHORS
Jakub Wilk <jwilk@debian.org>
Wrote this manual page for the Debian system.
http://www.exactcode.de/site/open_source/exactimage/
This manual page incorporates texts found on the ExactImage homepage.
COPYRIGHT
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
empty-page 09/09/2013 EMPTY-PAGE(1)