I am having to do a lot of searching thru files to replace words. Is there a command that i can run that will alow me to hunt thru a group of files and replace one word with another without having to open each file idividually?
-thanks;) (1 Reply)
I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum:
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command... (3 Replies)
Hi, I am working on transforming html code text into the .vert text format. I want to use linux utility sed. I have this regexp which should do the work: s/ \(?!*>\)/\n/g. I use it like this with sed: echo "you <we try> there" | sed 's/ \(?!*>\)/\n/g' ... The demanded output should be:
you
<we... (5 Replies)
I get a file which has all its content in a single row.
The file contains xml data containing 3000 records, but all in a single row, making it difficult for Unix to Process the file.
I decided to insert a new line character at all occurrences of a particular string in this file (say replacing... (4 Replies)
Hi,
I have been trying to replace the key word
"SQL> spool off "
with
"/
show errors"
with out double quotes in all the files in a directory.
above show erros should be displayed next line
Could you please help me how to do that.
I have tried something like this... (3 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
All, I appreciate any help you can offer here as this is well beyond my grasp of awk/sed...
I have an input file similar to:
&LOG
&LOG Part: "@DB/TC10000021855/--F"
&LOG
&LOG
&LOG Part: "@DB/TC10000021852/--F"
&LOG Cloning_Action: RETAIN
&LOG Part: "@DB/TCCP000010713/--A"
&LOG
&LOG... (5 Replies)
Sed command to replace a line in a file using line number from the output of a pipe.
Is it possible to replace a whole line piped from someother command into a file at paritcular line...
here is some basic execution flow..
the line number is 412
lineNo=412
Now i have a line... (1 Reply)
Hi all,
Let's say I have a script calling for the two variables PA_VALUE and PB_VALUE.
for pa in PA_VALUE
blah blah
do
for pb in PB_VALUE
blah blah
do
I have a text file with two columns of values for PA and PB.
14.5 16.7
7.8 9.5
5.6 3.6
etc etc
I would like to read this... (7 Replies)
I need to replace outliers from time series, an example below (outlier at x-position 386). The problem is that I do not want to smooth this line, I would like to replace the outlier with, for instance, an average value from the two consecutive values (i.e., average value from positions 385 and... (2 Replies)
Discussion started by: Gery
2 Replies
LEARN ABOUT DEBIAN
fbsetroot
FBSETROOT(1) Fluxbox Manual FBSETROOT(1)NAME
fbsetroot - a simple background utility used by the fluxbox(1) window manager, originally written for and by the original blackbox(1)
window manager.
SYNOPSIS
fbsetroot [-display display] -solid color
fbsetroot [-display display] -mod x y -fg color -bg color
fbsetroot [-display display] -gradient texture -from color -to color
fbsetroot -help
DESCRIPTION fbsetroot(1) is a utility that can control the appearance of the root window in three ways: Either give it a solid color, or write a two
color modula pattern to it, or render a gradient texture, based on two different colors.
fbsetroot resembles xsetroot(1) in this functionality but it supports multiple-screen displays, and gradient textures the same way as
blackbox or fluxbox does. It doesn't handle cursors etc. fbsetroot was originally part of the Blackbox package and was carried over with
the code that became Fluxbox. It was called bsetroot back in those days.
If any errors are encountered, fbsetroot will use either gxmessage(1) or xmessage(1) to inform the user of errors.
OPTIONS
fbsetroot operates in three ways, you must choose one of the first 3 options:
-solid color
Sets the root window to specified color.
-mod x y
Creates a modula pattern. You must specify -bg and -fg colors.
-gradient texturestring
Renders the specified texture string to the root window.
texturestring may be one of:
Horizontal / Vertical / Diagonal / Crossdiagonal / Pipecross / Elliptic / Rectangle / Pyramid
Select one of these texture types, they only apply when -gradient is specified. You must also specify both a -from and a -to color.
-display display
Tells fbsetroot to connect to the specified display.
-bg, -background color
Background color. Needed for -mod patterns.
-fg, -foreground color
Foreground color. Needed for -mod patterns.
-from color
Start color for rendering textures. Needed for -gradient patterns.
-to color
Ending color for rendering textures. Needed for -gradient patterns.
-help
Prints version info and short help text.
AUTHORS
This manpage was modified by Curt "Asenchi" Micol <asenchi at asenchi.com> for the Fluxbox window manager.
Further updates for fluxbox-1.1.2 and conversion to asciidoc format by Jim Ramsay <i.am at jimramsay.com>
SEE ALSO fluxbox(1)fbsetbg(1)xsetroot(1)xmessage(1)gxmessage(1)AUTHOR
Jim Ramsay <i.am@jimramsay.com>
Author.
fbsetroot.txt 28 October 2011 FBSETROOT(1)