9600012301F TF02FT T03FFTF04TF 05T FF06TTTT
I have to split this line up into this
96000123
01F TF
02FT T
03FFTF
04TF
05T FF
06TTTT
Can anyone please Help?? (1 Reply)
Hi, I want to make a new line between for eg: 0102030405 to make it look like:
01
02
03
04
05
by using sed commands. I'm just wondering how would I do this?
p.s i'm new to this unix programming. (7 Replies)
I have a series of .txt files, that contain lines of text separated by the following string ====================
In some of the .txt files, the string ends with the word Document, leaving the string ==================Document.
I would like to be able to split any such line and move the word... (16 Replies)
Hi,
I have a file in the given format:
|aaa |hhh |fat hat chat |make sure
I need to get store in a variable,say 'error' the value of the string 'fat hat chat'
In short,
echo $error should give the result
fat hat chat
Is this possible using awk?
Also, can this be split.For... (10 Replies)
Hi Guys,
I need a help. I am pretty new to the shell level programing. I was trying to split a long lines to a multiple lines with few conditions. I goggle for the code and found some snippets and tried to modified it but I got few strange problems too.
I have to split the lines if line is ... (3 Replies)
I have a 12M line file that I need to split into smaller files but I'm getting a
csplit: virtual memory exhausted error
How can I quickly split this file?
This is sze
-r-xr-xr-x+ 1 VERGE Domain Users 1158288000 May 4 16:31 inputfile
This is the command I've tried...
csplit... (4 Replies)
I have a perl variable which contains the below value.
$var1 = "2% / 51%"
Now I would like to split the data into 2 different variables.
For example
$part1 = 2
$part2 = 51
Could anyone please help me in this regard ?
Regards,
GS (4 Replies)
Hi All,
I am reading a line from a file and writing it to other file.
Whenever I got a particular line then I want that line to be splited into 4 line and written it to new file. e.g My line is
U_ABC connector3 pin24E connector4 pin25E connector5 pin26E connector6 pin27E connector7... (2 Replies)
Hi,
I have one problem scenorio as below.
my source file is :
cat input_file.
"hi","there","how","are","you?","It","was","great","working","with","you.","hope","to","work","y ou."
my output should be like.
"hi","there","how","are","you?",
"It","was","great","working","with",... (7 Replies)
I have a text file that looks like this:
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
I need it to turn it into an XML file to run against a custom application. My ultimate goal is for it to look like... (15 Replies)
Discussion started by: jeffs42885
15 Replies
LEARN ABOUT DEBIAN
graphics::primitive::insets
Graphics::Primitive::Insets(3pm) User Contributed Perl Documentation Graphics::Primitive::Insets(3pm)NAME
Graphics::Primitive::Insets - Space between things
DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding
or margins (in the CSS sense, one being inside the bounding box, the other being outside)
SYNOPSIS
use Graphics::Primitive::Insets;
my $insets = Graphics::Primitive::Insets->new({
top => 5,
bottom => 5,
left => 5,
right => 5
});
METHODS
Constructor
new Creates a new Graphics::Primitive::Insets.
Instance Methods
as_array
Return these insets as an array in the form of top, right, bottom and left.
bottom
Set/Get the inset from the bottom.
equal_to
Determine if these Insets are equal to another.
left
Set/Get the inset from the left.
right
Set/Get the inset from the right.
top Set/Get the inset from the top.
zero
Sets all the insets (top, left, bottom, right) to 0.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
SEE ALSO perl(1)COPYRIGHT & LICENSE
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-08-21 Graphics::Primitive::Insets(3pm)