Sponsored Content
Top Forums Shell Programming and Scripting inserting characters before each line... Post 55102 by Nicol on Thursday 2nd of September 2004 04:40:51 AM
Old 09-02-2004
Thanks for your help , just what i needed !!

Christian
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

vi : inserting non-printing characters

I am trying to edit a syslinux msg file. I want to precede color codes with control characters. I have tried insert mode, then control v followed by the color code; however, I continue to get " [O " if I type the color code or enter ESC mode. How can I just insert say " ^L " ? (2 Replies)
Discussion started by: cstovall
2 Replies

2. UNIX for Dummies Questions & Answers

inserting line??

guys can anyone tel me how to insert a line in a file(bash) using line number i wanna insert the line using LINE NUMBER...i know for inserting above or below a perticular line we can use sed a\ or i\.... thanks in advance.... (7 Replies)
Discussion started by: anj
7 Replies

3. Shell Programming and Scripting

Inserting a new line

I have a file where each line starts with a "update" statement. I want to insert a new line, after each line, with the words "go" in the new line. Can someone help me out with this? (1 Reply)
Discussion started by: ssmallya
1 Replies

4. UNIX for Advanced & Expert Users

Inserting a line before the line which matches the patter

Hi Is there any command where we can insert a line "2|||" before every line starting with "3|" my input is as follows 1|ETG|12345 3|79.58|||GBP|| 1|ETG|12345 3|79.58|||GBP|| 1|ETG|12345 2|EN_GB||Electrogalvanize 0.5 m2 ( Renault ) 1|ETG|12345 3|88.51|||GBP|| desired output... (10 Replies)
Discussion started by: laxmi131
10 Replies

5. UNIX for Dummies Questions & Answers

Inserting control characters at the end of each line

How to add control characters at the end of each line in a file? Can anyone help me with this? Thanks, Shobana (2 Replies)
Discussion started by: Shobana_s
2 Replies

6. Shell Programming and Scripting

Inserting a line in a file after every alternate line

Friends , I have a large file and i need to insert a line after every line.I am actually unaware how to do it.Any help appreciated. My File control station *ATM* , qread $OSS.Jul13A.FI01 interval 1 intcount 1 control station *ATM* , qread $OSS.Jul13A.FI02 interval 1 intcount... (4 Replies)
Discussion started by: appu2176
4 Replies

7. UNIX for Dummies Questions & Answers

inserting characters based on condition

hi i have a file that contains the data like this 12345 12453 8990998987 0989876656 12345678 12344 133678999 12345677 i should insert "+" and "-" signs for each line i,e., + 12345 - 12453 + 8990998987 - 0989876656 + 12345678 - 12344 (2 Replies)
Discussion started by: anurupa777
2 Replies

8. Shell Programming and Scripting

Commenting a specific line and inserting a new line after commented line.

Hello All, I have following file contents cat file #line=aaaaaa #line=bbbbbb #line=cccccc #line=dddddd line=eeeeee #comment=11111 #comment=22222 #comment=33333 #comment=44444 comment=55555 Testing script Good Luck! I would like to comment line line=eeeeee and insert a new line... (19 Replies)
Discussion started by: manishdivs
19 Replies

9. UNIX for Dummies Questions & Answers

Inserting new line

Hi all, I want ot print a header with new line in the end. I am using echo like echo "this is header" I want output like This is header $ I tried -e also but it's not working. echo - e Can anyone help please? (6 Replies)
Discussion started by: dsa
6 Replies

10. UNIX for Beginners Questions & Answers

Inserting n characters to beginning of line if match

I would like to insert n number of characters at the beginning of each line that starts with a given character. If possible, I would be most appreciative for a sed or awk solution. Given the data below, I would like to be able to insert either 125 spaces or 125 "-" at the beginning of every line... (6 Replies)
Discussion started by: jvoot
6 Replies
CipUX::RPC::Test::Client(3pm)				User Contributed Perl Documentation			     CipUX::RPC::Test::Client(3pm)

NAME
CipUX::RPC::Test::Client - libray for test clients VERSION
version 3.4.0.9 USAGE
use CipUX::RPC::Test::Client; DESCRIPTION
This is the library for CipUX XML-RPC test clients. See man page of those clients (for example cipux_rpc_test_client) for details on the clients. METHODS
create_list_destroy_test =head2 big_entity_test =head2 login =head2 manual_test =head2 member_list =head2 plain_entity_test =head2 probably_delete =head2 record_test_result =head2 run =head2 test_create_list_destroy1 =head2 test_create_list_destroy2 =head2 test_entity1 =head2 test_entity2 =head2 test_list_admin =head2 test_list_users =head2 test_login =head2 test_login_again =head2 test_logout =head2 test_ping =head2 test_plain_entity =head2 test_session =head2 test_sum1 =head2 test_sum2 =head2 test_summary =head2 test_ttl =head2 test_version =head2 xmlrpc DIAGNOSTICS
TODO EXIT STATUS
1 on failure 0 on success other from XML-RPC server CONFIGURATION
Not needed. DEPENDENCIES
Carp Class::Std CipUX::RPC CipUX::Task Data::Dumper Date::Manip English Frontier::Client Getopt::Long Log::Log4perl Pod::Usage Readonly INCOMPATIBILITIES
Not known. BUGS AND LIMITATIONS
Not known. AUTHOR
Christian Kuelker <christian.kuelker@cipworx.org> LICENSE AND COPYRIGHT
Copyright (C) 2008 - 2009 by Christian Kuelker This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA perl v5.14.2 2012-01-04 CipUX::RPC::Test::Client(3pm)
All times are GMT -4. The time now is 01:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy