{} and ( ) differences


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting {} and ( ) differences
# 1  
Old 06-30-2011
{} and ( ) differences

Can u tell the diff between the
1) $a and ${a}
2)[[ ]] and ( )
3)" " and ' ' , ` `
4) 'a' , "a", please explain with simple example
# 2  
Old 06-30-2011
This looks like homework. Please post homework questions in the homework forum.
This User Gave Thanks to jim mcnamara For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Differences between shells

What is the practical difference among the different shell like csh , ksh , bash etc.:confused::confused: Please use descriptive subjects instead of single words (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

2. Shell Programming and Scripting

Differences between 2 directories

Hi, I am trying to write a script under ksh to list all the differences between two directories. For example: # ls test1 test2 I need to compare all the files under between test1 & test2. When I do diff, it only compares the diectoires but it doesn't check inside. I did do... (3 Replies)
Discussion started by: samnyc
3 Replies

3. Shell Programming and Scripting

Differences between 2 Flat Files and process the differences

Hi Hope you are having a great weeknd !! I had a question and need your expertise for this : I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
Discussion started by: newbie_8398
5 Replies

4. Shell Programming and Scripting

Data differences

I have the following awk command, reading data from my local server(sun5) and remote server(sun8).Each doing the same command and displaying the differences into a diffs.txt file. awk 'BEGIN {while ( getline < "sun5-printers.txt") {arr++ } } { if (!($0 in a rr ) ) { print } }'... (15 Replies)
Discussion started by: ggoliath
15 Replies

5. Shell Programming and Scripting

Printing the differences

Dear All, I am having a file with thousands of columns. I would like to find the difference between adjacent columns (ie $i and $(i+1)) and perform the following action: if the difference is less than -10, then i need to print "-2"; if the difference is between 0 and <-9, then i need to... (2 Replies)
Discussion started by: Fredrick
2 Replies

6. Shell Programming and Scripting

Help with file differences

I have two huge files in the size of 1gb. They are produced by similar processes and the expected thing is that they should match in size and contents. I have produced both the files with the processes and they seem to be off only by few bytes. Size file name 1634502037 ... (2 Replies)
Discussion started by: dsravan
2 Replies

7. UNIX for Dummies Questions & Answers

shell differences?

What is the differene between sh and ksh, if i want to write function count() { ls | wc -l } How to use in both shell means how to run this function in both the shell. correct me if my question is wrong (2 Replies)
Discussion started by: hi2_t
2 Replies

8. UNIX for Dummies Questions & Answers

Differences

Hi all, I am using korn shell. I want to know what is the difference between hey and echo commands. (1 Reply)
Discussion started by: sivakumar.rj
1 Replies

9. Solaris

Differences between Solaris 2.5 and 9

Hi Can anybody tell what are the great differences in Solaris 2.5 and 9? I am seeking information like differences in libraries, User Interface, Configuraion files, daemons, Packaging and archiving tools, Hardware supported etc. Please help me, as this is little urgent. Even if you can refer... (4 Replies)
Discussion started by: charlcy
4 Replies
Login or Register to Ask a Question