How to compare environment variables
Hi all.
I have the following example: Code:
PATH=/bin:/usr/bin |
Code:
new=$(who) |
diff - compare files line by line
I want to use environment variables instead files. How to do this? |
Quote:
Code:
% a="a" b="b";diff <(echo "$a") <(echo "$b") |
Quote:
|
Quote:
Code:
% echo "$var1" |
Code:
man diff |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 03:46 PM. |