Search Results

Search: Posts Made By: daudiam
7,414
Posted By daudiam
Thanks a gigaton ! It really was of great help. I...
Thanks a gigaton ! It really was of great help. I will just mention what I have understood.

A backslash removes any special meaning of the symbol succeeding it. If there is no special symbol (like...
7,414
Posted By daudiam
I'm very sorry, I didn't mention the fact that I...
I'm very sorry, I didn't mention the fact that I was using bash. So, the examples u gave don't give me the results that u mention. My question is :
eval echo \\h
eval echo \\\h
both give output as...
2,778
Posted By daudiam
Thanks. I get that since all the special symbols...
Thanks. I get that since all the special symbols like |,",',; all are evaluated before substitution takes place. Hence, in the case of $cmd, since no specia symbols were initially found, cmd was...
4,837
Posted By daudiam
Thanks a lot !
Thanks a lot !
4,837
Posted By daudiam
use of parenthesis() in shell programming
What's the use of parenthesis () in shell programming ?
I saw this in one of the posts in this forum :
echo $($1)
What confounded me was that it evaluated the inner expression and then the outer...
2,778
Posted By daudiam
Effect of using eval to execute a command as opposed to writing it on the commandline
cmd='date | wc' or cmd="date | wc"
$cmdIf this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as...
7,414
Posted By daudiam
Why did specifically 4 backslashes work ?
I can't understand why inserting 4 backslashes instead of 2 or 3 worked
Showing results 1 to 7 of 7

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