Go Back   The UNIX and Linux Forums > Top Forums > Emergency UNIX and Linux Support !! Help Me!!
google site



Emergency UNIX and Linux Support !! Help Me!! Post your urgent questions here for highest visibility. Posting a new thread to this forum requires Bits. We monitor this forum to help people with emergencies, but we do not guarantee response time or answers. This forum is "best effort" only. Members who reply to posts here receive a bonus of 1000 Bits per reply.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #29  
Old 12-24-2009
radoulov's Avatar
--
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 3,674
Thanks: 15
Thanked 64 Times in 63 Posts
I suppose that my last two posts need some clarification and I believe that it's because of me English

By obvious I meant that it was obvious, that you meant something different, not that the issue was obvious.

When I first read your post, I thought that your confusion was deriving from something different (too complicated for me to explain in English and not important at this time).
Sponsored Links
  #30  
Old 12-24-2009
aaiaz's Avatar
Registered User
 

Join Date: Nov 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
radoulov in your code below kindly what is the "x" for?


Code:

awk '$0~"^"(NR==1?"\"":x "http:")&&$0=RS$0RS' RS=\"

  #31  
Old 12-24-2009
radoulov's Avatar
--
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 3,674
Thanks: 15
Thanked 64 Times in 63 Posts
x is for NULL(or empty) string It's an uninitialized variable.
You can use "" if you find it more readable. x is just shorter.
  #32  
Old 05-12-2010
Registered User
 

Join Date: May 2010
Location: http://www.ashisoft.com
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
If you want to become proficient in unix, regex. as it is called is a very important tool. It has spilled over into Windows programming in the past few years as well.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Single quotes and double quotes sol_nov Shell Programming and Scripting 5 09-16-2009 09:44 PM
double quotes pavan_test Shell Programming and Scripting 4 08-25-2008 10:08 PM
Double quotes or single quotes when using ssh? password636 Shell Programming and Scripting 3 05-29-2008 08:52 PM
grep exclude/find single and double quotes Lindy_so UNIX for Dummies Questions & Answers 4 03-06-2008 08:01 AM
How do I insert double quotes dsean Shell Programming and Scripting 3 05-26-2006 01:28 PM



All times are GMT -4. The time now is 12:14 AM.