Search Results

Search: Posts Made By: MichLab
15,618
Posted By MichLab
Thanks for the insights. I do find the...
Thanks for the insights.

I do find the behaviour borderline nuts presuming different rules for coercing variables.

An arguably valid definition I can think of as an alternate is that "$$" is...
15,618
Posted By MichLab
Then how would the following ever work: ...
Then how would the following ever work:
xxx=$(date)
( sleep 5
xxx=$(date)
echo $xxx
) &
echo $xxx

if $xxx were coerced when the (...)& is being scanned, then the two echo statements...
3,797
Posted By MichLab
Any chance you have white space left of EOF?
When you move the ftp section into the "if" do you have any indenting? <<- will strip leading tabs only, not spaces. Better to have EOF always at the left edge.
15,618
Posted By MichLab
In ksh, how does an in-line child sub-process get its own PID?
This is not the same as a few of the other posted items dealing with sub-process pids (that I saw anyway).

If zot contains:

echo "main mypid: $$ - lastpid: $!"
(
echo "block mypid: $$ -...
Showing results 1 to 4 of 4

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