Sponsored Content
Full Discussion: negate search help
Top Forums Shell Programming and Scripting negate search help Post 302245295 by vidyadhar85 on Thursday 9th of October 2008 06:45:55 PM
Old 10-09-2008
Quote:
Can you please explain how it works?
basically it enteres a new line after each ", "
so i am searching for ", " and then inserting newline by hitting an enter after search thats why it went to next line so it won't work in single line
regards,
vidyadhar
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how do I negate a sed match

I have a text file that has links in it. I can write a match for sed to replace the link with anything. For example: http://www.google.com becomes XxX But what I'm after is not to replace the link with something but to remove everything else and just leave the link. I want a... (5 Replies)
Discussion started by: muxman
5 Replies

2. Shell Programming and Scripting

negate * with in pattren matching...

Hi Every one I have a file in the following manner... AAAAAA*PERFORM WRITEQ BBDFDD*PERFOMF WRITEQ FFFF *PERFOMF WRITEQ i want to find the lines which donot have * in 7th position.. I have tried this but some problem i think... grep '......*WRITEQ' INpFIle... any 6 chars not... (7 Replies)
Discussion started by: pbsrinivas
7 Replies

3. Shell Programming and Scripting

How to negate grep result?

Here is my script so far: set dirs = ` find . -name "message.jar" 2> /dev/null | cut -d "/" -f 2 ` | uniq foreach dir ( $dirs ) if (grep $dir/* someText==null) --> how do I write this in script? print $dir end end (4 Replies)
Discussion started by: mmdawg
4 Replies

4. Shell Programming and Scripting

negate search within sed

I working fine with following statement - sed '/search_pattern/ s/pattern1/pattern2/' file_name requirement changes , now i want negate the search something like - sed '! /search_pattern/ s/pattern1/pattern2/' file_name (this doesn't work) anybody can plz tell the correct syntax... (2 Replies)
Discussion started by: ajitkumar2
2 Replies

5. Shell Programming and Scripting

Negate gawk search

Hi, I am using the under-noted script to search the "MYPATTERN" in MYFILE and print that block of lines containing the pattern starting with HEADER upto FOOTER. Please help me what to put in script to negate the search i.e. not to print those blocks meeting the search criteria. gawk -v... (1 Reply)
Discussion started by: vanand420
1 Replies

6. Shell Programming and Scripting

Help: Regular Expression for Negate Matching String

Hi guys, as per subject I am having problem with regular expressions. Example, if i got a string "javax.servlet.http.HttpServlet.service" that may occurred anywhere within a text file. How can I used the negate pattern matching of regular expression? I tried the below pattern but it... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies

7. Shell Programming and Scripting

Negate alerting for particular metadevice.

Hi All... I have a script that checks for any problems(particularly looks for 'Needs Maintenance') with metadevices and alerts accordingly. This was not configured to alert for a particular metadevice. Now i want to negate alerting for a particular metadevice(say d40). Is this possible? I am... (6 Replies)
Discussion started by: reddybs
6 Replies

8. Web Development

Negate user space URL in Apache

Hello, I have a situation where I am trying to use Apache's RedirectMatch directive to redirect all users to a HTTPS URL except a single (Linux) user accessing there own webspace. I have found a piece of regular expression code that negates the username: ^((?!andy).)*$but when I try using it... (0 Replies)
Discussion started by: LostInTheWoods
0 Replies

9. Shell Programming and Scripting

How to negate pattern within sed?

Example: I have data like, H|1|2|#||4|4|5|6 D|f|g|h|j|j|k|k| D|f|g|h|j|j|k|k| D|f|g|h|j|j|k|k| D|f|g|h|j|j|k|k| D|f|g|h|j|j|k|k| T|g|g|G|G|g|g| T|g|g|G|G|g|g| I have to write command, it should delete all the lines except line starting with "D". I have tried sed '/^\(D\)|/!d'... (2 Replies)
Discussion started by: duplicate
2 Replies

10. Shell Programming and Scripting

How to get the negate of decimal to binary?

Hi All, New to this forum (and yes , a newbie in programming..:p) I have a decimal to binary converter script done this way : i=$1 bit0=$(( (i & 0x01) > 0 )) bit1=$(( (i & 0x02) > 0 )) bit2=$(( (i & 0x04) > 0 )) bit3=$(( (i & 0x08) > 0 )) bit4=$((... (6 Replies)
Discussion started by: digiteltlc
6 Replies
MANPAGE(1)																MANPAGE(1)

NAME
Launchy - smart search launcher utility SYNOPSIS
launchy [options] DESCRIPTION
Launchy is a cross-platform utility designed to help you forget about your start menu, the icons on your desktop, and even your file manager. Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes. Once Launchy has been started, it hides in the background. You bring it forward by holding the Ctrl and the Space keys. You can then type in a few keys of the program you are searching for and hit enter once it has been found. You can also make Launchy dissappear again by hitting the Escape key or Ctrl+Space. Launchy allows you to add additional command line parameters to the selected launch. Simply hit Tab key once you have found the application you are interested in and then enter the parameters. When the input text area is empty, press the down arrow key and Launchy will display a history of the commands entered previously. You can scroll up and down the list and press Enter key to repeat the command. Pressing Shift+Delete instead will remove the item from the history. OPTIONS
-exit Attempt to close any running instances of Launchy. -multiple Allows more than one instance of Launchy to be run. -options Shows the options dialog. -rescan Rescan the catalog. -rescue Resets LaunchyaXXs position to the center of the screen and selects the default skin. -show Shows Launchy's window (default is to launch hidden in most cases). Can be used as a way to active Launchy from a shortcut. If -multiple is not used and Launchy is already running, then the command will be sent to the running instance of Launchy. KNOWN ISSUES
Not all skins will work with Linux builds of Launchy. If you're running a compositing manager (compiz or beryl) then the skins should look the same as in Windows. Otherwise, you will have to settle for the skins that look good without alpha transparency (like Default and Black Glass). If the black area of mask.png is perfectly rectangular then, for some reason, compiz won't mask it correctly and you will have a strange black section around the skin. SEE ALSO
Launchy homepage "<http://www.launchy.net>" AUTHOR
Launchy authors are Josh Karlin, Simon Capewell and others. This manual page was written by Ricardo Mones for the Debian project (and may be used by others). 2012-05-22 MANPAGE(1)
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy