|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Is there a GUI program out there for the use of grep, cut, regex, and I need a powerful search and replace program ... Any ideas would be greatly appreciated!
ThankS! ![]() |
|
#2
|
|||
|
|||
|
grep and cut are powerful search programs. for search and replace, you should use sed, awk or perl. i doubt there is a gui. and if, probably you´ll get like less than 1% of the power that they have!
learn how to use the command line, there is no more effective way. have a look at bash programming too, it´s easy ![]() some hints: grep "text" * is "find text in all files in the current directory." grep -i "text" * is "find text in all files in the current directory and don´t care about upper/lower case ls -lR / | grep -i .jpg is "find all jpg-files on the filesystem no matter if their extension is jpg, JPG, jPg or ..." and one to sleep a night about (bash,sed,cat): for i in *; do cat "$i"|sed -e s/war/peace/ig >/tmp/tmpfile; cat /tmp/tmpfile > "$i"; done; rm -f /tmp/tmpfile what does it do? ![]()
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
sorry to drag politics into the group but i couldn't resist ...
Quote:
my guess is that this will remove the georGeW32busH@mm virus from your computer. jaa |
|
#4
|
|||
|
|||
|
Bah, who wants to replace war with peace? What would we do for excitement then?
Could we at least replace war with "mini-battles" or something similar?? ![]()
__________________
Linux is for those who hate Windows. FreeBSD is for those who love UNIX. ------- Have you read The Handbook yet? How about The FAQ? Have you searched the mailing lists? Or read any of the man pages? Have you searched the web for BSD resources? In short, have you done your homework yet?
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > cut, grep, regex, universal search and replaces |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|