I have data of the following form. It starts its first line with a '{' and ends the last line with a '}'. What I need to do is to join every line starting with the '{' and ending with the '} into one line in the output file. If it was just this one block, I could do a 13 joins in vi, however it... (4 Replies)
Hi guys,
I've got a log file which has entries that look like this:
-------------------------------------------------------------------------------
06/08/04 07:57:57
AMQ9002: Channel program started.
EXPLANATION:
Channel program 'INSCCPQ1.HSMTSPQ1' started.
ACTION:
None. ... (3 Replies)
Hi,
I have a file which has the contents as below :
07:38:36 EST
date 20041117
07:39:06 EST
07:00:29 EDT
date 20050504
07:25:16 EDT
07:00:40 EDT
date 20050505
07:23:12 EDT
I need to delete the new line character from all lines except 3rd,6th,9th etc. lines so that i get the output... (14 Replies)
Hello,
I have 2 files say
File 1 has
ABC
DEF
GHI
File 2 has
123
456
789
I need output as
ABC 123
DEF 456
GHI 789
I tried awk and sed but not able to get it in the right way. :confused:
Please help. Thanks (25 Replies)
Hi ,
I want to join two lines in a file, where the second line contain query string. if it doesn't contain that string i don't want to join
e.g.
Input file is as following:
name fame game
none none none
name fame game
cat eat mice
I need output file as
name fame game
none none... (2 Replies)
Hi All,
I need the command to join 2 lines into one. I found lots of threads but none give me the sollution. Probably because unix scripting is one of my best features ;)
I got a logfile where line 2 needs to be joined with line 1, lines 4 needs to be joined with line 3 etc
If you need... (16 Replies)
Hi Guys,
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT... (6 Replies)
Hello,
I'm trying to write a piece of code in awk, which should be able recognize by some regexps two lines and then join them together (maybe write them without \n would be enough, I don't know).. the thing is that every line in the file i'm working with starts with some number, for example:
... (4 Replies)
I'm looking for a way to join lines in a file; e.,g consider the following
R|This is line 1
R|This is
line 2
R|This is line 3
R|This is line 4
R|This is
line 5
what i want to end up with is
R|This is line 1
R|This is line 2
R|This is line 3
R|This is line 4
R|This is line 5
so... (15 Replies)
Hi - I have req to join broken lines and remove empty lines but should NOT be in one line. It has to be as is line by line. The challenge here is there is no end of line/start of line char.
thanks in advance
Source:-
2003-04-34024|04-10-2003|Claims|Claim|01-13-2003|Air Bag:Driver;... (7 Replies)
Discussion started by: Jackceasar123
7 Replies
LEARN ABOUT SUSE
kitpost
KITSEND(1) General Commands Manual KITSEND(1)NAME
kitpost - posts distribution kits
SYNOPSIS
kitpost [ -hrV ] [ -H file ] [ -D desc ] [ -m dest1,dest2 ] [ kits ] [ newsgroups ]
DESCRIPTION
Kitpost posts distribution kits made by makedist to some (source) newsgroups specified on the command line. If you do not specify any kit
list, then all the kits are sent. Otherwise, only the specified kits will be (re)sent.
A kit list may include ranges, 1-10 specifying kits 1 through 10, and 5- meaning kits 5 up to the last one. You may also specify kit num-
bers by separating them with commas or spaces, and even mix with ranges, such as: 1 3 5-7 9.
Kitpost ensures correct References: lines are inserted in your postings so that all parts but the first point to the root article. Threaded
newsreaders and end-users traditionally appreciate that.
OPTIONS
The following options are recognized by kitpost:
-h Print help message and exit.
-m dest1,destn
Sends kits by e-mail to the specified recipients. This option may be used in conjunction with newsgroup posting. It is mainly
intended for sites where direct posting to a moderated newsgroup is not allowed by inews. You may thus send your kits to the
newsgroup moderator in a form that will ease the whole posting process.
-r Signals a repost.
-D description
Specify a description string that will be added to the subject line. Usually a brief sentence (less than, say, 40 characters).
-H file Specify a file to be used as header introduction in the first part of your posting. Usually the root README file.
-V Print version number and exit.
BUGS
Article cross-referencing is properly set-up only when the whole package is (re)posted in one batch.
It is not currently possible to set-up the article headers manually or better, interactively.
AUTHOR
Raphael Manfredi <ram@hptnos02.grenoble.hp.com>
SEE ALSO makedist(1), kitsend(1).
ram KITSEND(1)