Search Results

Search: Posts Made By: jozo95
11,437
Posted By jozo95
' That works good. I solved it using...
'

That works good.

I solved it using this code:

grep -o '<a href="[a-z]\+[^>"]*' | sed -ne 's/^<a href="\(.*\)/\1/p'


---------- Post updated at 04:14 PM ---------- Previous update was...
11,437
Posted By jozo95
Doesnt work :/ I get output as this along...
Doesnt work :/

I get output as this along the way :

g">Studievägledning</a></li><li><a href="http://www.bth.se/jobb">Lediga tjänster</a></li></ul></div><div class="footer-section...
11,437
Posted By jozo95
Extracting urls from curl output
Hello.

I use curl to fetch a website, then, I want to extract the URLs from this curls output.

I tried both sed and grep, but couldnt figure it out.

Ive tried : sed -n...
1,842
Posted By jozo95
Ow, sorry, I saw that this section had sed in the...
Ow, sorry, I saw that this section had sed in the description so I thought it would be appropraite.
Ill repost my thread in the propper section.
1,842
Posted By jozo95
I kinda need to use sed for this assignment :/
I kinda need to use sed for this assignment :/
1,842
Posted By jozo95
Sorry, only "stockholm", "tokyo", "paris" is...
Sorry, only "stockholm", "tokyo", "paris" is acceptable, I made a miss, sorry for that.
1,842
Posted By jozo95
Edited my post, thanks.
Edited my post, thanks.
1,842
Posted By jozo95
Matching only the strings I provide - sed - SOLVED
Hello..

I am currently learning sed and have found myself in some trouble..

I wrote this command:
sed -ne...
Forum: War Stories 01-14-2016
15,692
Posted By jozo95
Haha dat uptime :D
Haha dat uptime :D
1,948
Posted By jozo95
wow... perfect my friend, thank you very much!!!!
wow... perfect my friend, thank you very much!!!!
1,948
Posted By jozo95
Got it. Do you mind looking at this ? its...
Got it. Do you mind looking at this ? its probably easy for you to solve (thread-related).

This code : sed -e 's/[^-><:]*\([-<>]*[:]*\).*\[-<>]*[:]*/\1/;h' datasets/q13data.txt


Gives me this...
1,948
Posted By jozo95
Thank you, but do you mind taking a look at my...
Thank you, but do you mind taking a look at my code and tell me whats wrong with it and how id fix it ?
1,948
Posted By jozo95
I love you sir. I have a question on the "...
I love you sir. I have a question on the " [^-<>]* ", the "^" here is the same as "!" (dont)? And why is the g flag needed ?
1,948
Posted By jozo95
This works perfect... Altho do you mind...
This works perfect... Altho do you mind explaining it :P? Im new and trying to get my head around this
1,948
Posted By jozo95
sed command not getting the right output
Hello.

Ive spent probably a hour on this problem, and cant figure it out.

Let me explain the problem.

I run head -n5 datasets/q13data.txt and get this :
$$001011<-:::$$<-::: '...
Showing results 1 to 15 of 15

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