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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help. Good luck with the scripting :-)
ASKER
thanks much!
Don