07-16-2006
it works beautifully! much thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
$mystring = "name:blk:house::";
print "$mystring\n";
@s_format = split(/:/, $mystring);
for ($i=0; $i <= $#s_format; $i++) {
print "index is $i,field is $s_format";
print "\n";
}
$size = $#s_format + 1;
print "total size of array is $size\n";
i am expecting my size to be 5, why is it... (5 Replies)
Discussion started by: new2ss
5 Replies
2. Shell Programming and Scripting
Hello,
if i have file like this:
010000890306932455804 05306977653873 0520080417010520ISMS SMT ZZZZZZZZZZZZZOC30693599000 30971360000 ZZZZZZZZZZZZZZZZZZZZ202011302942311 010000890306946317387 05306977313623 0520080417010520ISMS SMT ZZZZZZZZZZZZZOC306942190000 30971360000... (5 Replies)
Discussion started by: chriss_58
5 Replies
3. Shell Programming and Scripting
Is it possible to invoke a perl function from a bash script ?
There are existing perl scripts with many functions that I want to reuse from a more recent script written in bash. Hence the question. (1 Reply)
Discussion started by: NewDeb
1 Replies
4. Shell Programming and Scripting
On a line in a file::
/atrclips/u90/2009/169_008/Y5288900/SATHSWR_P1/1809853_SATHSWR_P1.tif,00018098539415200901_SATHSWR_P1.tif
How do I use the split function to extract 169008......I tried ....
foreach my $line (@lines)
{
... (3 Replies)
Discussion started by: bandar007
3 Replies
5. Homework & Coursework Questions
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Discussion started by: castle
1 Replies
6. Homework & Coursework Questions
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (0 Replies)
Discussion started by: castle
0 Replies
7. Shell Programming and Scripting
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Discussion started by: castle
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
Below is an example of a record I have, which I wish to split using the perl's split function and load it into an array. I am having tough time figuring out the exact reg-ex to perform the split.
Given record:
"a","xyz",0,2,48,"abcd","lmno,pqrR, stv",300,"abc",20,
The delimiter to... (4 Replies)
Discussion started by: jghoshal
4 Replies
9. Shell Programming and Scripting
my @d =split('\|', $_);
west|ACH|3|Y|LuV|N||N||
Qt|UWST|57|Y|LSV|Y|Bng|N|KT|
It Returns d as 8 for First Line, and 9 as for Second Line . I want to Process Both the Files, How to Handle It. (3 Replies)
Discussion started by: vishwakar
3 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I have a csv file that appears as follows:
,2013/03/26,2012/12/26,4,1,"2017/09/26,5.75%","2017/09/26,1,2018/09/26,1,2019/09/26,1,2020/09/26,1,2021/09/26,1",,,2012/12/26,now when i use the split function like this:
my @f = split/,/; the split function will split the data that is... (2 Replies)
Discussion started by: WongSifu
2 Replies
LEARN ABOUT DEBIAN
drempels
Really Slick ScreenSavers(1) General Commands Manual Really Slick ScreenSavers(1)
NAME
drempels - Hallucinatory desktop enhancer.
SYNOPSIS
drempels [--root/-r] [--maxfps/-x number] [--vsync/-y number] [--dpms/-M number] [--blur/-b number] [--speed/-s number] [--scale/-S number]
[--cells/-c number] [--cellresolution/-R number] [--images/-i directory] [--texinterval/-I number] [--texfadeinterval/-f number] [--gentex-
size/-g number] [--no-shader/-H]
DESCRIPTION
From Ryan M. Geiss (http://www.geisswerks.com/about_drempels.html): "A hallucinatory desktop enhancer - bring your wallpaper to life with
graceful, swirling imagery. Runs beautifully as animated wallpaper, or as a screensaver."
Ported to Linux by Tugrul Galatali.
OPTIONS
--root Draw on the root window.
--maxfps number
Set maximum frame rate.
--vsync number
Limit redraws to specified number of vertical refreshes. 0 - 100. Default: 1
--dpms number
Stop rendering new frames if the display is not on. 0 - 1. Default: 1
--blur number
Blurring between frames. 0 - 10. Default: 7
--speed number
Speed of flow, bigger is faster. 0 - 20. Default: 10
--scale number
Scale of flow, bigger is zoomed in. 0 - 20. Default: 10
--cells number
Number of cells (i.e. control points) in width/height in powers of two. 4 - 8. Default: 4
--cellresolution number
Resolution of each cell in powers of two. 4 - 8. Default: 4
--images directory
Cycle through the images in the specified directory.
--texinterval number
Seconds to dwell on each texture. 1 - 3600. Default: 10
--texfadeinterval number
Fade time between subsequent textures, in tenths of second. 1 - 100. Default: 10
--gentexsize number
Resolution of randomly generated textures, in powers of two. 4 - 12. Default: 8
--no-shader
Disables use of vertex/fragment shaders, in case they do not work as expected.
ENVIRONMENT
DISPLAY to get the default host and display number.
SEE ALSO
X(1),
COPYRIGHT
Copyright (C) 2009 by Ryan M. Geiss and Tugrul Galatali.
Drempels is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as pub-
lished by the Free Software Foundation.
Drempels is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHOR
Ryan M. Geiss and Tugrul Galatali <tugrul@galatali.com>
X Version 11 Really Slick ScreenSavers(1)