Hi everyone,
I have a file. I have to search whether the last line is empty(blank line) or not. if it is a blank line, I have to delete it. I dont want to move it to a temp file and again to original file after deleting the last line because I am doing some more modification in that file. Just I... (3 Replies)
How would one go about deleting the first two characters on each line of a file on Unix? I thought about using awk, but cannot seem to find if it can explicitly do this. In this case there might or might not be a field separator. Meaning that the data might look like this.
01999999999... (5 Replies)
Hi,
I have a file that gets automatically generated and it would look something like
sakjsd
adssad
{{word}}
sddsasd
dsdsasa
.
.
.
So basically what I want to do is just keep the stuff below the {{word}} marker. The marker includes the brackets. Is there any command to delete the... (3 Replies)
Hi,
Could any one of you let me know any simple Unix command for deleting first 10 letters of first line in unix?
Eg: 123456789ABC --Input
ABC--Output
Thanks
Sue (9 Replies)
I have a file that looks like this:
It is a huge file and basically I want to delete everything at the > line except for the number after “C”.
>c1154... (2 Replies)
Hi ,
I have a script taht returns result in teh following format :
End of input file.
a,b,c
3,4,5
s,d,f,
End of input file.
d,t,h
r,t,y,
4,6,9
a,4,f
e,6,7
End of input file.
w,e,r
the script that gives this result is :
tcpdump ..... | |sort|uniq -c | head -10 (2 Replies)
Hi All,
I have too many .gz files (test.gz).
Task is to remove first line of each file.
Can I do it without unzipping the files?
Your help is appreciated. (4 Replies)
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
I need to remove double quoted strings from specific lines in a file. The specific line numbers are a variable. For example, line 5 of the file contains
A B C "string"
I want to remove "string". The following sed command works:
sed '5 s/\"*\"//' $file
If there are multiple... (2 Replies)
Discussion started by: rennatsb
2 Replies
LEARN ABOUT DEBIAN
chart::clicker::renderer::line
Chart::Clicker::Renderer::Line(3pm) User Contributed Perl Documentation Chart::Clicker::Renderer::Line(3pm)NAME
Chart::Clicker::Renderer::Line - Line renderer
VERSION
version 2.83
SYNOPSIS
my $lr = Chart::Clicker::Renderer::Line->new(
brush => Graphics::Primitive::Brush->new({
#...
})
);
DESCRIPTION
Chart::Clicker::Renderer::Line renders a dataset as lines.
ATTRIBUTES
additive
If true, the lines are drawn "stacked", each key accumulates based on those drawn below it.
brush
Set/Get a brush to be used for the lines.
shape
Set a shape object to draw at each of the data points. Adding a shape results in:
shape_brush
Set/Get the brush to be used on the shapes at each point. If no shape_brush is provided, then the shapes will be filled. The brush allows
you to draw a "halo" around each shape. This sometimes help to separate the points from the lines and make them more distinct.
METHODS
draw_point
Called for each point encountered on the line.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Renderer::Line(3pm)