it doesn't work, that's why i am posted here, i am not totally noob.
It give me :
command "read", make a variable every blank, but i need to cut every 6 blanks ...
same for awk ...
And more difficult, i can have empty variable so i need my script to see 12 blanks as 2 variables with one empty ...
Maybe it was not clear cause of the original identation, i ve modify my log, to be more comprehensible
i think
is close tio what i need, but i still don't understand it, i ve just seen it sometimes during my research
can't figure out a way to delete multiple empty lines but keep single empty lines in a file, file is like this
#cat file
1
2
3
4
5
6
-
What I want is
1
2 (6 Replies)
hi all
I want to get multiple search that are separated by blank line according to first search in text file
eg: egrep 'x|Y|Z' file
in that for each x...it should be seperated by blank line
will u pls help (8 Replies)
Hi Guru's , I have a whole bunch of files in /var/tmp that i need to strip any blank lines from, so ive written the following script to identify the lines (which works perfectly).. but i wanted to know, how can I actually strip the identified lines from the actual source files ??
my... (11 Replies)
Dear All-
Please suggest a single unix command which can append blank line in multiple files.
I need to achieve this using a single unix command and not a script
Please do advice
Regards,
Suresh (2 Replies)
Hi,
Consider a file named "testfile"
The contents of file are as below
first line added for test
second line added for test
third line added for test
fourth line added for test
fifth line added for test (5 Replies)
Hello All ,
I have a file which needs to split based on the blank lines
Name ABC
Address London
Age 32
(4 blank new line)
Name DEF
Address London
Age 30
(4 blank new line)
Name DEF
Address London (8 Replies)
Hi All
Need Help
I have a file with the below format (ABC.TXT) :
®¿¿ABCDHEJJSJJ|XCBJSKK01|M|7348974982790
HDFLJDKJSKJ|KJALKSD02|M|7378439274898
KJHSAJKHHJJ|LJDSAJKK03|F|9898982039999
(cont......)
I need to write a script where it will check for : blank lines (between rows,before... (6 Replies)
Dear All,
In a CSV file, say that a given column has been extracted. In that column, information is missing (i.e. blank lines appear). I would like to replace the blank lines by the last valid line (not blank) previously read.
For example, consider the extract below:
123
234
543
111... (7 Replies)
Hi Experts,
In short : Need to split file when field in column 5 is blank and need to generate two file in which column 5 is blank and other in which column 5 has values along with other rows and column data
My issue is i am not able to get header for column from raw file into new file which... (4 Replies)
Discussion started by: as7951
4 Replies
LEARN ABOUT DEBIAN
log::agent::driver::fork
Agent::Driver::Fork(3pm) User Contributed Perl Documentation Agent::Driver::Fork(3pm)NAME
Log::Agent::Driver::Fork - dummy driver for forking output to multiple drivers
SYNOPSIS
use Log::Agent;
require Log::Agent::Driver::Fork;
require Log::Agent::Driver::Foo;
require Log::Agent::Driver::Bar;
my $driver = Log::Agent::Driver::Fork->make(
Log::Agent::Driver::Foo->make( ... ),
Log::Agent::Driver::Bar->make( ... )
);
logconfig(-driver => $driver);
DESCRIPTION
This driver merely acts a multiplexer for logxxx() calls, duplicating them and distributing them to other drivers.
The only routine of interest here is the creation routine:
make(@drivers)
Create a Log::Agent::Driver::Fork driver that duplicates logxxx() calls and distributes them to the drivers in @drivers. The arguments
must be the return value of the make() call for the client drivers.
NOTES
Many thanks go to Daniel Lundin and Jason May who proposed this module independently. Eventually, logconfig() will support multiple
drivers directly. But, for now, this solution requires no change to the existing interface.
AUTHOR
Mark Rogaski <mrogaski@pobox.com>
LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved.
See Log::Agent(3) or the README file included with the distribution for license information.
SEE ALSO Log::Agent::Driver(3), Log::Agent(3).
perl v5.10.0 2009-07-23 Agent::Driver::Fork(3pm)