Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I see there are grep and fgrep, the later uses Aho–Corasick string matching algorithm.
Can you give me a use case when I would use fgrep (grep -F), why fgrep was created?
To the point:
grep -F does not match regular expressions, only exact/fixed strings, because of this it is faster. It is also practical to use it when you don't need regular expression syntax, so as not to bother escaping regular expression characters contained in your string.
Sidenote:
Direct invocation of fgrep is deprecated. You should use grep -F.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I need to run RapidMiner as an admin on IOS.
How do I start it as admin?
I tried sudo /Applications/RapidMiner\ Studio.app, but it didn't work.
The error: sudo: /Applications/RapidMiner Studio.app: command not found
The question is: How can I start RapidMiner from the command line.
For most apps (aside from Rapidminer), the actual binary launchable via the terminal is hidden in the application bundle.
It looks like Rapidminer is quite a bit different.
You should be able to do something like:
RapidMiner Studio.app\Contents\Resources\RapidMiner-Studio-App.sh
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm using grep in a search that returns significant false-positivies, and it's probably easier for me to identify the good results by inspection, than to write the much more complicated grep expression.
To do that, I need to see more than 1 line for each result.
Can I (How do i) instruct grep to return 1-2 lines above and below each match?
If you have GNU grep, then:
grep -A 2 -B 2 or grep -C 2
-A stands for after
-B stands for before
-C stands for context (both before and after)
Source and more options: http://unixhelp.ed.ac.uk/CGI/man-cgi?grep
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I was doing some tests on my server and I found that adding . or .. at the end of the URL seems to change things, but I don't know why.
It's not limited to my server, though. I can access www.google.fr.. via Firefox or wget (didn't try an other mean, but I guess it's the same).
So, do you guys know what do these extra . mean?
There are two type of URL possible.
Absolute= having fully qualified path
Relative= having path relative to current directory.
"." & ".." are used in relative paths.
"." means Current Directory or Current Path Segment
".." means one directory up relative to current Directory/Current Path Segment
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to use traceroute unix program to find the route to a host.
I tried traceroute www.google.com and I end up seeing only asterisks printed. Examples on the internet uses the same command and it seems to work well. I tried increasing the waitime value using -w switch. Still does not work.
Well, you get your answer almost a year later. I personally was wondering the same thing, so I did some googling and found
this answer on webmasters.
If a packet is not acknowledged within the expected timeout, an asterisk is displayed.
I found that traceroute -I gave more complete results.
-I, --icmp
Use ICMP ECHO for probes
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is there any software available to compare two text files for the differences between them. I have two CSS text files with me that i want to compare for the difference.
On Linux or Mac OS, use diff on the command line:
man diff
On windows, try this:
http://www.prestosoft.com/edp_examdiff.asp
araxis.
Also check Visual Studio Extension Code Compare
WinMerge works well too for comparing text files and source code as well. And its free!