04-10-2010
Did you place a link to here on the home page of your blog? This is a requirement for posting your blog link here.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need some help in parsing out the first (top) data lines of each category (categories are based on the first column a, b, c, d, e.( see example file below) from a big file
a dfg 3 6 8 9
a fgh 5 7 0 9
a gkl 5 2 4 7
a glo 7 0 1 5
b ghj 9 0 4 2
b mkl 7 8 0 5
b jkl 9 0 4 5
c jkl 2... (1 Reply)
Discussion started by: Lucky Ali
1 Replies
2. Shell Programming and Scripting
Hi, I have a script that interacts with a config file in the format:
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
file6.txt
I would like to return the Category, when given the file name. (11 Replies)
Discussion started by: MoreCowbell
11 Replies
3. Shell Programming and Scripting
Hi All,
Would it be possible using awk to split a given file into two files based on a certain condition such that one output file will contain all lines that fit the condition while the other output file will contain lines that did not fit the condition?
Here is a sample input file
... (6 Replies)
Discussion started by: cympaulife
6 Replies
4. UNIX for Dummies Questions & Answers
Started using unix commands recently.
I have 50 gzip files. I want to grep each of these files for a line count based particular category in column 3. How can I do that?
For example
Sr.No Date City Description Code Address
1 06/09 NY living here 0909 10st st nyc
2 ... (5 Replies)
Discussion started by: jinxx
5 Replies
5. Shell Programming and Scripting
Hi,
I have a file and I want the category for each row to be its highest value.
gene highest medium lower lowest
ABC 20 30 50 70
DEF 90 20 60 0
o/p
gene highest medium lower lowest category
ABC... (6 Replies)
Discussion started by: Diya123
6 Replies
6. Shell Programming and Scripting
I have list of file names in filename.txt
below is file format
>>File1
_________________________
01~12345~Y~YES~aaaaa~can
02~23456~N~NO~bbbbb~can
.
.
.
99~23__________________________
Need to find total count from each file depending on specific string and add them to have total count... (17 Replies)
Discussion started by: santoshdrkr
17 Replies
7. Shell Programming and Scripting
Please consider the following file, I have many groups which can be of 3 types, T1 (Serial_Number 1) T2 (Serial_Number 2) and T1*T2 (all other Serial_Number).
I want to only consider groups that have both T1 and T2 present and their values are different from each other. In the example file,... (8 Replies)
Discussion started by: jianp83
8 Replies
8. Shell Programming and Scripting
please help with the following.
I have 4 col data .. instrument , category, variable and value. the instruments belong to particular categories and they all measure some variables (var1 and var2 in this example), the last column is the value an instrument outputs for a variable.
I have used... (0 Replies)
Discussion started by: ritakadm
0 Replies
9. Shell Programming and Scripting
I want to categorize and count the as below:
Input file:
A1 G1 C1 F1
A2 G1 C1 F1
A3 G1 C1 F2
A4 G1 C2 F2
A7 G1 C2 F2
A8 G1 C2 F3
A11 G1 C2 F3
A23 G1 C2 F3
B4 G1 C2 F3
AC4 G2 C3 F4
B6 G2 C4 F4
BB5 G2 C4 F4
A25 G2 C5 F4
B13 G2 C5 F5
D12 G2 C5 F5
D2 G2 C5 F5 (3 Replies)
Discussion started by: aydj
3 Replies
10. What is on Your Mind?
Hello All,
I was thinking to start this POLL, sometime back but couldn't get time so starting it today. So we all work either as an Admin or as a Developer or as a QA etc. So let's have a thread(POLL) where we could share our experiences(if it doesn't come anyone's privacy category) so that we... (17 Replies)
Discussion started by: RavinderSingh13
17 Replies
LEARN ABOUT DEBIAN
chronicle-spooler
CHRONICLE-SPOOLER(1) User Contributed Perl Documentation CHRONICLE-SPOOLER(1)
NAME
chronicle-spooler - Automatically post pre-written entries.
SYNOPSIS
Path Options:
--config Specify a configuration file to read.
--spool-dir Specify where pending entries are located.
--live-dir Specify where the entries should be moved to.
Post-Spool Commands:
--post-move Specify a command to execute once entries have been moved.
Optional Features:
--test Only report on what would be executed.
Help Options:
--help Show the help information for this script.
--manual Read the manual for this script.
ABOUT
chronicle-spooler is a companion scrip to the chronicle blog compiler.
It is designed to facilitate posting new entries automatically upon
particular dates. (ie. If you have ten written blog entries in a spool
directory it will move them into place upon the date you've specified.)
DATE SPECIFICATION
To specify the date a particular entry should be made live you
must add another pseudo-header to your blog entry files, as follows:
Title: This is the title of the blog post
Date: 2nd March 2007
Publish: 15th April 2008
Tags: one, two, three, long tag
The text of your entry goes here.
In this example we know that this entry will be made live upon the
15th April 2008, and not before.
AUTHOR
Steve
--
http://www.steve.org.uk/
LICENSE
Copyright (c) 2008-2010 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
perl v5.12.3 2011-05-03 CHRONICLE-SPOOLER(1)