Search Results

Search: Posts Made By: egill
7,078
Posted By egill
Ok, as that was my intention, I suppose I was...
Ok, as that was my intention, I suppose I was misunderstanding what was desired.
7,078
Posted By egill
Ok. That's good to know. I suppose the end of...
Ok. That's good to know. I suppose the end of line anchor ($) will work, then.

This seems to work on a tiny test file.

grep -e '^[^#]*$' testhash.txt

EDIT:

This is my file contents:...
7,078
Posted By egill
I'm no expert with grep or regular expressions in...
I'm no expert with grep or regular expressions in general (started working with them a couple days ago), but wouldn't using this pattern in grep work?
^[^\r\n#]+[\r\n]I haven't used grep from the...
3,072
Posted By egill
No, nothing is wrong with Ubuntu, I just find...
No, nothing is wrong with Ubuntu, I just find myself wondering if a different OS, like Solaris or something, would be better. Is there any important difference between a Linux and UNIX system for a...
3,072
Posted By egill
UNIX based / like OS suggestions to dual boot with Windows
Hello everybody! I'm a long-time windows user with some very limited experience with some Linux distributions. I'm a programmer (in training), but I've worked mostly with .NET stuff.

I started a...
3,159
Posted By egill
Ok, I managed to get it. Found out that the...
Ok, I managed to get it.

Found out that the text editor I started using a couple days ago (TextWrangler, on Mac OS X) has support for grep built in.

Searched for this:

Publication - ([...
Forum: Open Source 06-01-2012
339,483
Posted By egill
Using TextWrangler [Mac OSX] at the moment. I...
Using TextWrangler [Mac OSX] at the moment. I like the fact that it has syntax highlighting and has a run in terminal button.

Before that I just used textedit or notepad.
3,159
Posted By egill
Use Regex to identify / format a complex string
First of all, please have mercy on me. I am not a noob to programming, but I am about as noob as you can get with regex. That being said, I have a problem.

I've got a string that looks something...
Showing results 1 to 8 of 8

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