GUI for multiple pattern replacement


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers GUI for multiple pattern replacement
# 1  
Old 07-06-2016
GUI for multiple pattern replacement

I'm trying to change a few programs in our environment. Basically We have hardcoded some server names and stuff, So I want some one to suggest me some UNIX gui tools that can be used to replace these..

I really don't want to deal doing this through the command line. I want to transfer the files to my windows PC replace these patterns and then move it to the server.

Any suggestions would be appreciated. Thanks
# 2  
Old 07-09-2016
Quote:
Originally Posted by sudden
Any suggestions would be appreciated.
My suggestion is to change the way you attempt to achieve something:

Quote:
Originally Posted by sudden
Basically We have hardcoded some server names and stuff, So I want some one to suggest me some UNIX gui tools that can be used to replace these..

I really don't want to deal doing this through the command line. I want to transfer the files to my windows PC replace these patterns and then move it to the server.
You know already how you want to do it ("no commandline"), but haven't even the slightest idea what you want to do: "server names and stuff" is hardly a description anybody could use to actually do some work and hope to achieve what your goal is.

Instead of being open about your prospective tools and secretive about defining your goals you might want to try it the other way round: be precise about your goals, stating exactly what you want to change, in which ways you want to change it and what your environment looks like. Worry about which tools to use to achieve this precisely defined set of desired results only then: when it is "precisely defined".

To answer your question in the style it was posed i'd say: use PowerPoint! True, it might not allow you to actually do the work, but you can use it to put together a presentation which looks good and might convince management to hire someone to actually do the work for you.

I hope this helps.

bakunin
# 3  
Old 07-09-2016
Quote:
Originally Posted by sudden
I really don't want to deal doing this through the command line. I want to transfer the files to my windows PC replace these patterns and then move it to the server.
That's not the way things work in Unix. Since it's very easy to do that on the command line, everyone does it that way. Maybe there are some GUIs - I'm not knowing the name of a single one.

And yes - command line is command line. If you're not used to do things that way, you'll need of course a bit of time and learning in doing it that way.

If I get you right, you like to do it on your Windows PC. Since this forums domain is unix.com, it's not very likely you get a tip for a search & replace GUI for windows here.

---

If you are really interested in learning the needed tools, you definitively will get some good advices here what to read and hints that help you with the usage of the tools.

Last edited by stomp; 07-09-2016 at 02:21 PM..
# 4  
Old 07-10-2016
Hi.

See:
Code:
       regexxer  is  a program that allows you to select a group of files, and
       perform perl-style regular expression search and replace operations  to
       the files, in an interactive graphical interface.

I tried this, and it worked for me. In a simple GUI display It found the files, then found the strings, then changed the strings, then saved the files.

This was on a system:
Code:
OS, ker|rel, machine: Linux, 3.16.0-4-amd64, x86_64
Distribution        : Debian 8.4 (jessie) 
regexxer - ( /usr/bin/regexxer, 2014-10-01 )

Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Pattern Matching and replacement in Gz files

Hi Techies, I need a help in finding junk characters and remove them from a Datafile. we have a file and it had crores of records like below SGSN_MCC_MNC=01150 but sometime due to the issue with sending server we are getting some junk characters in the middle of data like below ... (6 Replies)
Discussion started by: mahi_mayu069
6 Replies

2. Shell Programming and Scripting

Pattern Matching and replacement

Hello Everybody, I need a help in the below pattern matching and replacement issue I have a file : emp.txt 21356 suresh 12/12/2012 23511 ramesh 11/06/2011 31456 biswajit 09/08/2013 53134 archan 06/02/2009 first field:- employee id, 2nd field is name and third field is date of joining ... (10 Replies)
Discussion started by: shellscripting
10 Replies

3. Shell Programming and Scripting

Unix file pattern check and replacement

HI Guys , Using UNIX ,I intend to check with correct file pattern Access_file_Record.YYYYMM in path /tmp If the file exist in correct format come out from code . If not found check with different file patterns for same month period YYYYMM ( Like Access_file_Record_YYYYMM.txt or... (8 Replies)
Discussion started by: Perlbaby
8 Replies

4. Shell Programming and Scripting

sed noob needs help with replacement pattern.

Hi there, i am absolutely new in shell programming and especially using sed. What i want to do is to replace every emailaddress suffix with another. In my Testfile there is: foo@bar.comMy attempt to replace every @<something>.<someotherthing> is: sed 's/@+\.+/REPLACE/g' test.txt... (5 Replies)
Discussion started by: Donngal
5 Replies

5. Shell Programming and Scripting

Sed for selective pattern replacement

Hi I am having a code snippet grant permission to all user sts|ln|uSe|PSG sajncht|se|Use|PPSPSG psg|ln|use|TSPSG sts_user.Me revoke I need to change all occurance of use (uSe,Use,use) with USE. I am using the following sed command for this sed 's//USE/g' s_sample.txt Output: (7 Replies)
Discussion started by: sudeep.id
7 Replies

6. Shell Programming and Scripting

String replacement when particular pattern matches in a file

I have a file file123.xml which looks like this xmlEntry="username"="josh" <property="never_back_down"> phone="<178652>" apn=property:address="wonderland" xmlEntry="username"="jessica" <property="never_back_down"> phone="<178653>" apn=property:address="wonderland"... (5 Replies)
Discussion started by: poga
5 Replies

7. Shell Programming and Scripting

Date Pattern Match (replacement string)

Hello, i am splitting files and sometimes the string of the pattern doesnt exist in the input file it starts for example with 00:00:01. So the output is completely desorganized, is there any way of putting a replacement string in the pattern so it will grab all the times from 00:**:** to first... (0 Replies)
Discussion started by: x-plicit78
0 Replies

8. UNIX for Dummies Questions & Answers

awk pattern replacement

Hi I'm a newbie in unix and I'm having trouble in creating a script. I want to search for a pattern '_good' and insert new lines that contains '_bad', '_med', '_fail' while also ensure that the line contains _good is removed here some of the data UPDATE SCHOOL SET GRADE =... (1 Reply)
Discussion started by: sexyTrojan
1 Replies

9. Linux

matching pattern and replacement

Hi I am trying to look for a view name in create view statement and then replace this view name with VW_ in grants line in my ddl file . cat dim_provider.sql | grep -i "create view" | while read f1 f2 f3 f4 f5 f6 f7 f8 f9 do new_vw=` echo "$f3" | cut -d "." -f2... (32 Replies)
Discussion started by: capri_drm
32 Replies

10. UNIX for Dummies Questions & Answers

Pattern Replacement

There is a requirement that i need to replaced a pattern by another pattern in all the files in my entire file system. there are 1000s of file in the system. let the pattern is "calcuta". i have to replace this pattern by "kolkata" in all those files which contain "calcuta". I am only able to... (12 Replies)
Discussion started by: palash2k
12 Replies
Login or Register to Ask a Question