Sponsored Content
Full Discussion: help with sed needed
Top Forums Shell Programming and Scripting help with sed needed Post 302123386 by arushunter on Monday 25th of June 2007 10:58:36 AM
Old 06-25-2007
well, it just removes ":!:" and makes it
kljlkfljf5kjljljlj6jhjkhjkh7
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help needed with sed

Hi, I need to insert a line into a file underneath an existing line in the file, but am unsure as to the syntax. I'm pretty sure sed can be used though, although any ideas are more than welcome. For example: File ---- Line 1 Line 2 Line 3 Line 4 Line 6 I need to say: Insert "Line 5"... (1 Reply)
Discussion started by: danhodges99
1 Replies

2. Shell Programming and Scripting

Sed help needed

Could someone tell me how to replace varibles using SED inside Korn Shell? e.g. I have a ksh file program.ksh below: ------------------------------------ #!/bin/ksh sed -n '/ABC/p' $1 > output.txt if ] then status=new elif ] then status=old fi sed -n '/$status/p' $1... (5 Replies)
Discussion started by: stevefox
5 Replies

3. Shell Programming and Scripting

Help Needed -sed

Hi All, i have one file and in that i have to read each line and do some replacement. its is not fixed the number or column always be same it can be less also exm a;b;c;d;e;f (line) i have to do something like In the line If c is present then go to end of line and append ';date' else... (9 Replies)
Discussion started by: ravi.sadani19
9 Replies

4. Shell Programming and Scripting

Sed help needed

Hi, I have the following texts : #1#http://www.google.com#2#Google#3# #1#http://www.aol.com#2#AOL#3# I need a bash script which extracts the text between the markers (marks are #1#,#2#,#3#). I also need that text in variables ($URL and $DESCRIPT will be fine) so I can later use it to... (3 Replies)
Discussion started by: tcp27br
3 Replies

5. UNIX for Dummies Questions & Answers

SED Help Needed

I am trying to retrieve part of a line from /boot/grub/menu.lst The line is : gfxmenu (hd0,0)/usr/share/gfxboot/themes/pclinuxblue/boot/message I have figured out how to get this line into a file by itself. sed '/gfxmenu/ !d' /boot/grub/menu.lst > /tmp/menu.lst.pcl_tc What I need to... (2 Replies)
Discussion started by: Tide
2 Replies

6. Shell Programming and Scripting

Help Needed in SED

Hi All , I have a input file which has set of lines like this :: cat a.txt unix1 djkdfkjdkkdfkdjfdfkjd 09191091 unix@unix.com <2008-23-07> unix 2 dfdfdfdfdfdfdfdfdfd unix3 dfldfljdflkjdfldfkljdfldjfl 0565606 unix1@unix.com <2008-10-09> unix4 dfdlfndfldflnlffddfd for some... (4 Replies)
Discussion started by: raghav1982
4 Replies

7. Shell Programming and Scripting

Help needed on SED

Hi, I would like to process one file which looks like this : 09-04-16-17:11:53 -> count 1 NAME CHAN QID NMSGS NBYTES MAXBYTES P/T W_DEALNUM 105 123508770 1 10 14 P W_APPSTAT 106 123508771 1 12 35 P... (8 Replies)
Discussion started by: vive123
8 Replies

8. Shell Programming and Scripting

help needed with SED

Hello! I have a "problem" with sed... In a log, I'm wondering how to have the name of the application when "INCIDENT" is in the file... The name of the application is before "INCIDENT". For this example, The result should be "SPVP0005" thanks for your help! (7 Replies)
Discussion started by: Castelior
7 Replies

9. Shell Programming and Scripting

some sed help needed

I have file with following contents; 127.0.0.1 www.google.com 127.3.3.1 www.cisco.com 127.3.5.1 www.msnbc.com I want output as 127.0.0.1 www.google.com google.com 127.3.3.1 www.cisco.com cisco.com 127.3.5.1 www.msnbc.com msnbc.com I tried sed 's/www.//g'... (5 Replies)
Discussion started by: sangfroid
5 Replies

10. Shell Programming and Scripting

sed Help Needed

I want to search texts between first occurence of the matching pattern and replace it with some other text.pls advice what can be done. I searched alot, i could not find anything relevant. Ex my input is as follows: red yellow grey white blue red pink violet white I want to search... (9 Replies)
Discussion started by: sangitajc
9 Replies
fvwm-convert-2.4(1)						   Fvwm Modules 					       fvwm-convert-2.4(1)

NAME
fvwm-convert-2.4 - convert fvwm 2.2.x configuration file to fvwm 2.4 syntax SYNOPSIS
fvwm-convert-2.4 [source] [dest] DESCRIPTION
fvwm-convert-2.4 converts an fvwm 2.2.x configuration file into an fvwm 2.4 compatible syntax. It is not suitable to convert older 1.x configuration files. Please use fvwm-convert-2.2 to convert these to the 2.2.x format first. By default, fvwm-convert-2.4 converts ~/.fvwm2rc, saving the results in ~/.fvwm/.fvwm2rc. You must create the ~/.fvwm directory before running this command. Starting with the 2.4 release, the directory ~/.fvwm is the default location for fvwm user configuration files. Different source and destination files may be given. If the destination file already exists, this program exits. While the program runs it will generate a temporary file with the same name as the destination file with the suffix ".pass1" added. fvwm-convert-2.4 makes the following changes: PixmapPath/IconPath In fvwm 2.4, the PixmapPath and IconPath commands are replaced by the ImagePath command. In addition, the ImagePath can be compiled into fvwm. fvwm-convert-2.4 changes the PixmapPath and IconPath commands to ImagePath commands and removes any directories that are compiled into fvwm. Paths starting with a dollar sign are also removed. ModulePath In fvwm 2.4, the ModulePath is compiled into fvwm. fvwm-convert-2.4 removes any ModulePath commands it finds. If you are using your own modules, (not the ones that come with fvwm), you will have to fix your configuration file after using fvwm-convert-2.4. HilightColor In fvwm 2.4, the HighlightColor command is replaced by a Style command using the HilightFore and HilightBack arguments. fvwm-con- vert-2.4 makes these changes. HilightColorset In fvwm 2.4, the HighlightColorset command that was present in some of the 2.3.x beta releases is replaced by a Style command using the HilightColorset style. fvwm-convert-2.4 makes these changes. WindowShadeAnimate In fvwm 2.4, the WindowShadeAnimate command is replaced by the WindowShadeSteps Style option. fvwm-convert-2.4 makes this change. WindowFont In fvwm 2.4, the WindowFont command is replaced by a Style command using the Font argument. fvwm-convert-2.4 makes this change. ColorLimit In fvwm 2.4, the ColorLimit command is automatic. If you have a limited colormap, color limiting is the default. fvwm-convert-2.4 removes any ColorLimit command that it finds. GlobalOpts The GlobalOpts command is converted to Style options and the BugOpts command. Some options can not be converted automatically, though. Read Prints a message identifying any read commands found. The files being read may need to be converted also. Placement Styles Any of the old placement Styles found in the file can not be converted automatically. Instead, fvwm-convert-2.4 prints a warning. For details about the conversion, please refer to the "Window manager placement" section of the fvwm man page. FvwmConfig and FvwmPipe These modules are no longer a part of the fvwm distribution. fvwm-convert-2.4 prints a warning if these modules are found in the file. FvwmButtons panels The syntax of panels in FvwmButtons has changed. The conversion can not be done automatically. fvwm-convert-2.4 prints a message when it encounters a potential panel definition. For details about the conversion, please refer to the "CONVERTING OLD PANEL CONFIGURA- TIONS" section of the FvwmButtons man page. BUGS
You need Perl to be installed. WindowFont and HilightColor commands embedded in functions are not found. If you have either of these commands in functions, they are not detected. Known bugs can be found in the fvwm bug tracking system (accessible from the fvwm home page). Bug reports can be sent to the fvwm-workers mailing list (see the FAQ). AUTHOR
Dan Espen <despen@telcordia.com>. Fvwm 7 May 208 (2.5.26) fvwm-convert-2.4(1)
All times are GMT -4. The time now is 05:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy