06-08-2013
dude open the file using VI editor
vi filename
after that go to the line which u want to delete, and then press esc+dd to remove the line then save it using wq! command..thats it
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I want to print the below lines
"Message from bac logistics
The Confirmation File has not been received."
When i give like this in the code
"Message from bac logistics\n The Confirmation File has not been received."
It is giving only
Message from bac logistics\n The... (9 Replies)
Discussion started by: trichyselva
9 Replies
2. Shell Programming and Scripting
Hi All,
I have named a file with current date,time and year as follows:
month=`date | awk '{print $2}'`
date=`date | awk '{print $3}'`
year=`date | awk '{print $6}'`
time=`date +%Hh_%Mm_%Ss'`
filename="test_"$month"_"$date"_"$year"_"$time".txt"
> $filename
The file is created with a... (2 Replies)
Discussion started by: amio
2 Replies
3. Shell Programming and Scripting
Hi All,
We append the output of a file's size in a file. But a newline character is appended after the variable.
Pls help how to clear this.
filesize=`ls -l test.txt | awk `{print $5}'`
echo File size of test.txt is $filesize bytes >> logfile.txt
The output we got is,
File size of... (4 Replies)
Discussion started by: amio
4 Replies
4. Shell Programming and Scripting
Hi All,
I have 5000 records like this
Request_id|Type|Status|Priority|Ticket Submitted Date and Time|Actual Resolved Date and Time|Current Ticket Owner Group|Case final Ticket Owner Group|Customer Severity|Reported Symptom/Request|Component|Hot Topic|Reason for Missed SLA|Current Ticket... (2 Replies)
Discussion started by: j_53933
2 Replies
5. Shell Programming and Scripting
I'd like to remove (do a pattern or precise replacement - this I can handle in SED using Regex )
---AFTER THE 1ST Occurrence ( i.e. on the 2nd occurrence - from the 2nd to fourth occurance ) of a specific string : type 1
-- After the 1st occurrence of 1 string1 till the 1st occurrence of... (4 Replies)
Discussion started by: sieger007
4 Replies
6. Shell Programming and Scripting
Hi,
In my file, I have '\n' characters inside a single record. Because of this, a single records appears in many lines and looks like multiple records. In the below file.
File 1
====
1,nmae,lctn,da\n
t
2,ghjik,o\n
ut,de\n
fk
Expected output after the \n removed
File 2
=====... (5 Replies)
Discussion started by: machomaddy
5 Replies
7. Shell Programming and Scripting
Hi,
I have a very huge file, around 1GB of data.
I want to remove the newline characters in the file but not preceded by the original end delimiter {}
sample data will look like this
1234567
abcd{}
1234sssss
as67
abcd{}
12dsad3dad
4sdad567
abcdsadd{}
this should look like this... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies
8. Shell Programming and Scripting
hi i am having delimited .dat file having content like below.
test.dat(5 line of records)
======
PT2~Stag~Pt2 Stag Test.
Updated~PT2 S T~Area~~UNCEF R20~~2012-05-24 ~2014-05-24~~
PT2~Stag y~Pt2 Stag Test.
Updated~PT2 S T~Area~METR~~~2012-05-24~2014-05-24~~test
PT2~Pt2 Stag Test~~PT2 S... (4 Replies)
Discussion started by: sushine11
4 Replies
9. Shell Programming and Scripting
I have a file which comes every day and the file data look's as below.
Vi abc.txt
a|b|c|d\n
a|g|h|j\n
Some times we receive the file with only a new line character in the file like
vi abc.txt
\n (8 Replies)
Discussion started by: rak Kundra
8 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I came across one issue recently where output from one of the columns of the table from where i am creating input file has newline characters hence, record in the file is spread over multiple lines. Fields in the file are separated by pipe (|) delimiter. As header will never have newline... (4 Replies)
Discussion started by: Prathmesh
4 Replies
LEARN ABOUT DEBIAN
frozen-bubble-editor
FROZEN-BUBBLE-EDITOR(1p) User Contributed Perl Documentation FROZEN-BUBBLE-EDITOR(1p)
NAME
frozen-bubble-editor - a level editor for Frozen Bubble
SYNOPSIS
frozen-bubble-editor [OPTION]...
DESCRIPTION
This editor lets you manipulate level-sets, in which you can add, remove and modify levels thanks to a mouse-oriented interface (there are
also many interesting keyboard shortcuts). The interface is very straightforward: click on the written planches on the left an right parts
of the screen to perform the relevant actions, and on the level area to change the bubble color; use the "void" bubble (or right-click) to
remove a bubble.
OPTIONS
-h, --help
show command-line options summary
-fs, --fullscreen
start in fullscreen mode
-ls FILENAME, --levelset FILENAME
directly start with the specified levelset name
-l NUMB, --level NUMB
directly start the level number NUMB
-cb, --colourblind
use special bubbles for colourblind people
KEY SHORTCUTS
The following key shortcuts are available during level edition:
F1 displays the help dialog
p, h, left
previous level
n, l , right
next level
up first level
down
last level
a append level
i insert level
d delete level
] move level right
[ move level left
j jump to level (after j, enter level number, then Return)
o open levelset
s save levelset
f toggle fullscreen
q, Escape
quit
During dialogs, you may use Return to accept and Escape to cancel.
AUTHOR
Written by Kim Joham and David Joham <[k|d]joham at yahoo.com>. Integration work by Guillaume Cottenceau <guillaume.cottenceau at
free.fr>. This manual page was written by Guillaume Cottenceau.
Visit official homepage: http://www.frozen-bubble.org/ <http://www.frozen-bubble.org/>
SEE ALSO
frozen-bubble
COPYRIGHT
Copyright X 2002, 2003 Kim Joham and David Joham <[k|d]joham at yahoo.com>.
This is Free Software; this software is licensed under the GPL version 2, as published by the Free Software Foundation. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2012-06-21 FROZEN-BUBBLE-EDITOR(1p)