10-21-2008
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, can anyone explain me how this works (how the flow goes)?
Example:
CLIENT="UNIXHELP"
The second argument passed $2="UNIX"
RESULT=`awk -F"=" '/CLIENTS=/ {len = index($2,"'${CLIENT}'");print len }' $2`
Thanks in advance. (1 Reply)
Discussion started by: abrd600
1 Replies
2. Shell Programming and Scripting
hi, :)
In a shell script i came accross the following lines
1.for i in ` find /home/oracle -name ch'
2.do
3.echo $i
4.idx=`expr index $i .`
5.done
Here iam not able to understand the porpose of the word "index" in line 4.
any help ?
cheers
RRK (3 Replies)
Discussion started by: ravi raj kumar
3 Replies
3. Filesystems, Disks and Memory
why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
Discussion started by: sairamdevotee
0 Replies
4. UNIX for Dummies Questions & Answers
brothers why inode index starts from 1 unlike array inex which starts from 0
its a question from the design of unix operating system of maurice j.bach
i need to know the answer urgently...someone help please (1 Reply)
Discussion started by: sairamdevotee
1 Replies
5. Shell Programming and Scripting
Hi All,
I have a file (FileNames.txt) which contains the following data in it.
$ cat FileNames.txt
MYFILE17XXX208Sep191307.csv
MYFILE19XXX208Sep192124.csv
MYFILE20XXX208Sep192418.csv
MYFILE22XXX208Sep193234.csv
MYFILE21XXX208Sep193018.csv
MYFILE24XXX208Sep194053.csv... (5 Replies)
Discussion started by: krish_indus
5 Replies
6. UNIX and Linux Applications
Hi guys,
I have postgresql server with huge amount of data, nearly 2 billion records. each record is at most 50 bytes(4 integer fields). I need to build index on all column to do fast reporting. but indexes becomes bloat after some time. almost 80% of database size is because of its huge... (0 Replies)
Discussion started by: majid.merkava
0 Replies
7. Shell Programming and Scripting
Hello Gents,
Please give a help with this case
Input
10001010G1
10001010G1
10001010G1
10001010G2
10001010G3
10001012G1
10001012G1
10001012G1
10001012G1
10001014G1
10001014G1
10001014G2 (5 Replies)
Discussion started by: jiam912
5 Replies
8. Shell Programming and Scripting
I am having data in XML format and trying to extract codes form two fields called <String>, below is the data.
<Node>tollfree<Condition>BooleanOperator<Operation>AND</Operation><Condition>BooleanOperator<Operation>NOT</Operation><Condition>FieldSelection<Field Context="ALL fields"... (7 Replies)
Discussion started by: rramkrishnas
7 Replies
LEARN ABOUT DEBIAN
vitacilina
Vitacilina(3pm) User Contributed Perl Documentation Vitacilina(3pm)
NAME
Vitacilina - AXAh, quA~X buena medicina!
DESCRIPTION
A simple feeds engine exporter that uses YAML to get list of feeds and TT as templating system. Some people would call it an aggregator. It
was intended to be a reliable Planet (<http://planetplanet.org>) alternative, then some development ideas evolved into rFeed
(http://github.com/damog/rfeed). Vitacilina runs on production services on a couple of systems.
SYNOPSIS
use Vitacilina;
my $v = Vitacilina->new(
config => 'config.yaml',
template => 'template.tt',
output => 'output.html',
limit => '20',
);
$v->render;
FILES
config
The "config" parameter specifies the path to a YAML file specifying a list of feeds. Use this format:
http://myserver.com/myfeed:
name: Some Cool Feed
http://feeds.feedburner.com/InfinitePigTheorem:
name: InfinitePigTheorem
...
template
A "Template::Toolkit" file which will be taken as the template for output. Format:
[% FOREACH p IN data %]
<a href="[% p.permalink %]">[% p.title %]</a>
by <a href="[% p.channelUrl %]">[% p.author %]</a>
<br />
[% END %]
The "data" is an ordered array with a bunch of hashes with the simple data such as "permalink", "title", "channelUrl", "author", etc.
output
File path where the output will be written.
EXAMPLES
Take a look at the "examples/" directory for fully working example.
SEE ALSO
Git repository is located at <http://github.com/damog/vitacilina>. Also take a look at the Stereonaut! blog where similar developments
from the author are announced and sampled, <http://log.damog.net/>.
AUTHOR
David Moreno, david@axiombox.com. Alexandr Ciornii contributed with patches.
COPYRIGHT
Copyright (C) 2009 by David Moreno.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-11-29 Vitacilina(3pm)