Link to home
Start Free TrialLog in
Avatar of dprice7
dprice7

asked on

Linux shell variable help

Hello,

This is probably a real no brainer for someone with experience in shell scripts but,

I am new to Linux and scripting and was wondering if someone can explain to me what the following statements do?

Specifically what is .$$
$TMP.1

If you could take it line by line that would be extremely helpful.


TMP=/tmp/new_issue.$$
TFILE1=$TMP.1
TFILE2=$TMP.2
echo "RZ_ISSUE_NAME     $*" > $TMP
echo "RZ_ISSUE_VER      $*" >> $TMP
cat $* >> $TMP
rz_issue_summarize_file $TMP > $TFILE1

thanks in advance,

Don

ASKER CERTIFIED SOLUTION
Avatar of scampgb
scampgb
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dprice7
dprice7

ASKER

Hi scampgb,

thanks much!

Don
Glad I could help.  Good luck with the scripting :-)