Search Results

Search: Posts Made By: mcgrailm
1,768
Posted By mcgrailm
yes I'm sorry I should have looked at grep man...
yes I'm sorry I should have looked at grep man that should work thanks !
1,768
Posted By mcgrailm
grep using file
hello all

occasional shell user here

I have a small versions of the command i want to use here

ls -R | grep -v "100041" | grep -v "100042" | grep -v "100043"


and this gives me what I...
2,227
Posted By mcgrailm
almost there
so I've got almost everything I need here is the code I'm using

awk -F: ' { if ( $1 != "Email" && $2 !="" && $2 != " " ) { print substr($2,2)} }' '/private/tmp/shipping.txt'


only the...
2,227
Posted By mcgrailm
thats almost
wow that's cool

let me try to go through this code

sed is the shell command

s/ = search
*: = anything then a colon
\(.*\) = the back slashes tell sed not to process the bracket ?
and...
2,227
Posted By mcgrailm
Parsing text
Hello all,

I have some text formatted as follows

Name: John doe
Company:

Address 1: 7 times the headache
Address 2:
City: my city
State/Province: confusion
Zip/Postalcode: 12345
...
18,228
Posted By mcgrailm
thank you
though that not quite what I'm looking for here are some examples

input examples:
some text I wrote +90123456789 and some more text
new line with different numbers 1234567890 notice only 10...
18,228
Posted By mcgrailm
grep numbers
Hello,

I'm trying to grep for digits surrounded by non digits and I'm obviously misinformed. Could someone help me get this sorted out

here is what I have that is not working

grep -ho...
Showing results 1 to 7 of 7

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