04-26-2012
Hi and welcome, what did you try and where are you stuck?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I need to find one string in all files and replace tht string with blank space and need to redirect all the files into the same directory again.
now i am using
find ./ -name "*.dmp" | xargs perl -pi -e 's/\\N//g' | sed 's/.$//g'
but now its not redirrecting properly .
its taking... (21 Replies)
Discussion started by: dbsurf
21 Replies
2. Shell Programming and Scripting
Hi all-
I've got 2 files: One is the final results and one is a result set from a query.
In the final results files I have placeholder strings in there that need to be replaced by the corresponding strings from the query file.
So File#1 (FINAL RESULTS)
LINEID CLIENT ID REP ... (1 Reply)
Discussion started by: Cailet
1 Replies
3. Shell Programming and Scripting
I have a directory full of files. Most of the code in the files is the same accept for a few parameter values. I want to remove hard coded values and replace it with a parameter that I can pass. This is oracle pl/sql anonymous blocks. so the code is similiar to this
function myfunc
(p_myvar ... (1 Reply)
Discussion started by: guessingo
1 Replies
4. Shell Programming and Scripting
Hello,
I am very new to Linux and am trying to find a way for following problem.
I have a number of files in a folder as Export000.dat, Export001.dat ..and so on.
Each file has a string field 'Absolute velocity'. I want it to be replaced by 'Pixel shift' in all the files. I tried something like... (4 Replies)
Discussion started by: chirag.joshi
4 Replies
5. Shell Programming and Scripting
I'm trying to remove the following string from several files.
<img heigth="1" width="1" border="0" src="http://myteenmovies.net/t.php?id=5540372">I'm using the following script
#!/bin/bash
# This script will search and replace all regular files for a string
# supplied by the user and... (1 Reply)
Discussion started by: d13g0sv
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
HP-UX oradev3 B.11.11 U 9000/800 3251073457
I have following files all contains text like "919642990137@". I need to search this text across all files and replace it with something like "919717298765@". I was wondering, how to accomplish this task?
cpmprod_status.sh... (8 Replies)
Discussion started by: alok.behria
8 Replies
7. Shell Programming and Scripting
What is the best way (bash/awk/sed?) to read in two text files and do a keyword search/replace?
file1.txt:
San Francisco
Los Angeles
Seattle
Dallas
file2.txt:
I love Los Angeles.
Coming to Dallas was the right choice.
San Francisco is fun.
Go to Seattle in the summer.
... (3 Replies)
Discussion started by: pxalpine
3 Replies
8. Shell Programming and Scripting
Hello,
I have hundreds of files in which I need to change email address. Here is what I am trying to do:
1. All text files are in a directory "a"
2. In the text file, I want to replace email address for preparer. All these lines start with {{PreparerEmail and end with }}. The email... (3 Replies)
Discussion started by: cartrider
3 Replies
9. Shell Programming and Scripting
I have a bit of a complex problem that I would like to solve with awk. It is essentially a 2-part problem.
I have a large directory of files with the same format, each with 266 lines.
The first 206 lines of each file are filled with attribute information.
Then the following 60 lines consist... (4 Replies)
Discussion started by: owwow14
4 Replies
10. UNIX for Dummies Questions & Answers
I am not sure how to search and replace the word in the few specific files.
I need to search and replace word in only the name containing pepsi in the filename. (12 Replies)
Discussion started by: ramkumar15
12 Replies
GVB(1) General Commands Manual GVB(1)
NAME
gvb - simulate 1 and 2-dimensional vibrations in a nice GUI
SYNOPSIS
gvb
DESCRIPTION
This manual page documents briefly the gvb command.
gvb is a program that lets the user simulate waves and vibrations with given starting positions, calculation method and graphical appear-
ance.
It's easy to get the GUI nearly stuck if started with too much points; the maximum of points that an average computer can manage while
remaining responsive is probably about 200. An exception is given by the fact that if you are dumping frames to create an animation, proba-
bly you want a good quality and won't mind if the GUI is almost stuck.
Also pay attention to the fact that the "eig" mode requires a lot of precalculation; in this mode, calculating in 2 dimensions with just 15
points per dimension can already require some minutes, depending on CPU power.
SEE ALSO
gwave(1),
LICENSE
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 any
later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR
gvb and this manual page were written by Pietro Battiston <toobaz@email.it>.
This manual page was written for the Debian project (but may be used by others).
June 15, 2008 GVB(1)