Search Results

Search: Posts Made By: NanJ
4,172
Posted By NanJ
works great!! thanks a ton!! :) ----------...
works great!! thanks a ton!! :)

---------- Post updated at 10:02 AM ---------- Previous update was at 09:56 AM ----------

Any idea why a path like "/home/user/new\ folder" doesn't work fine...
19,544
Posted By NanJ
:) Thanks!!! That was me caught up in an...
:)
Thanks!!! That was me caught up in an endless loop of regex learning!!!

Another question posted by me which you might be able to answer. Pls do check it when you find some time....
19,544
Posted By NanJ
Writing the pattern to a file without the hassles...
Writing the pattern to a file without the hassles of escaping the quotes worked perfectly fine!
Thanks a ton.. :)

I had escaped both " and ' when I had the regex directly in the command. Wonder...
19,544
Posted By NanJ
Thanks Franklin52, Is there a way to do the...
Thanks Franklin52,
Is there a way to do the same in grep itself. I wanted the regex to be part of the grep regex itself. Are you suggesting that I use awk instead of grep?

Thanks
NJ
4,172
Posted By NanJ
Problem while using grep (multi-level) with the space-separated filepath.
Hi,
I've been trying to use grep to find out all the files which have two particular patterns in it (both pattern1 AND pattern2). I have a script to do the same, in which I'm getting the output of...
19,544
Posted By NanJ
Regex in grep to match all lines ending with a double quote (") OR a single quote (')
Hi,
I've been trying to write a regex to use in egrep (in a shell script) that'll fetch the names of all the files that match a particular pattern. I expect to match the following line in a file:...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy