LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2008, 08:48 AM   #16
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by AuroraCA View Post
If you are not going to read the answers to your questions then you should really learn to use Google.

I answered your question in your other post and the details can all be found in the link that I provided in my answer to that post.
i have seen that! thanks! but i still confused!
 
Old 10-25-2008, 08:51 AM   #17
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
thanks guys! but i still confused!
 
Old 10-25-2008, 09:03 AM   #18
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by topheraholic View Post
thanks guys! but i still confused!
hey topheraholic ,this is use of REGEX-Regular Expression.
U have to understand details how these works,plz follow these link,
and I am sure U'll not confuse anymore..

http://www.amk.ca/python/howto/regex...00000000000000
 
Old 10-25-2008, 10:31 AM   #19
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by topheraholic View Post
thanks guys! but i still confused!
You will need to tell us what you don't understand....and also tell us which of the recommended documents you have read.

If you want one really basic illustration, try this in a terminal:
a=34
echo $a
echo '$a'
echo "$a"
 
Old 10-25-2008, 10:36 AM   #20
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I've responded in your other thread----I have asked for this one to be merged. Meanwhile, please don't post any more here.
 
Old 10-25-2008, 10:47 AM   #21
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by divyashree View Post
hey topheraholic ,this is use of REGEX-Regular Expression.
U have to understand details how these works,plz follow these link,
and I am sure U'll not confuse anymore..

http://www.amk.ca/python/howto/regex...00000000000000
oh thanks a lot! i think the single and double quoting can not use nesting feature,right?
 
Old 10-25-2008, 10:57 AM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
This might help:
http://tldp.org/LDP/Bash-Beginners-G...ect_03_03.html

And this: (Google is your friend)
http://www.google.com/search?q=bash+...L_enUS177US235

The best thing is to simply run your own experiments
 
Old 10-25-2008, 07:35 PM   #23
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
See also http://rute.2038bug.com/index.html.gz
As mentioned, you need to read those articles slowly and then try them out. Its not complicated, really...
 
Old 10-25-2008, 09:31 PM   #24
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chrism01 View Post
See also http://rute.2038bug.com/index.html.gz
As mentioned, you need to read those articles slowly and then try them out. Its not complicated, really...
oh thanks! that is really good articles! thanks for telling me! do you have a icq or AIM or somthing else? so we will talk more or could be friends! thanks
 
Old 10-25-2008, 09:36 PM   #25
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by divyashree View Post
hey topheraholic ,this is use of REGEX-Regular Expression.
U have to understand details how these works,plz follow these link,
and I am sure U'll not confuse anymore..

http://www.amk.ca/python/howto/regex...00000000000000
thanks! do you have icq AIM or something else? i am new to linux,maybe i could talk to you or could be friends
 
Old 10-25-2008, 09:40 PM   #26
topheraholic
Member
 
Registered: Aug 2008
Location: shanghai
Distribution: ubuntu
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
I've responded in your other thread----I have asked for this one to be merged. Meanwhile, please don't post any more here.
ok sorry, why i post another one because i think i didnot say it clearly,so ~
sorry
 
Old 10-26-2008, 02:03 PM   #27
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
ya pixellany is also correct to let u understand
 
Old 10-26-2008, 03:02 PM   #28
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
I really don't understand the purpose of your command

Code:
echo '\,'\\z''
Let's analyze it. You first tell echo to write textually this string:

Code:
\,
Then you tell it to write a backslash, one of them is consumed to scape the second one, that's why only one is printed. The slashes and the 'z' are out of the quotation marks, so they are not inmune to the shell interpretation, and that's why they are not printed literally. So, you got only one slash, and the 'z'.

At the end, you have included this (which makes absolutely no sense in this context).

Code:
''
Two single quotes, with an empty string inside...

This definitely looks as homework, and you should be reading the provided links and the bash man page the first thing. Read the QUOTING section in the bash man page. Everything you need is there.
 
Old 10-27-2008, 01:22 PM   #29
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I took the liberty to merge your two directly related
threads and would ask that you stick with one in the
future .... re-visit the rules, specifically the bit about
double-/cross posting and stick to it.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 05:08 PM
What is the difference between "make deinstall clean" and "pkg_delete"? Mr_Shameless *BSD 3 04-20-2007 08:41 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 10:40 AM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 02:30 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 02:42 AM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration