![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Or use the safer and more portable printf instead of the deprecated echo: printf '<a href="%s">Mystery Tour</a>\n' "$link" |
#12
| |||
| |||
|
|
.oO(Chris F.A. Johnson) Or use the safer and more portable printf instead of the deprecated echo: Deprecated? Safer? More portable? What are you talking about? |
#13
| |||
| |||
|
|
.oO(Chris F.A. Johnson) printf '<a href="%s">Mystery Tour</a>\n' "$link" please remove the quotes around the $link variable - quoting a single variable is just stupid. |
#14
| |||
| |||
|
|
Michael Fesser wrote: .oO(Chris F.A. Johnson) printf '<a href="%s">Mystery Tour</a>\n' "$link" please remove the quotes around the $link variable - quoting a single variable is just stupid. Aren't the quotes around the $link variable part of the <a> code, i.e. for quoting the href attribute value? |
#15
| |||
| |||
|
|
.oO(Bergamot) Michael Fesser wrote: .oO(Chris F.A. Johnson) printf '<a href="%s">Mystery Tour</a>\n' "$link" please remove the quotes around the $link variable - quoting a single variable is just stupid. Aren't the quotes around the $link variable part of the <a> code, i.e. for quoting the href attribute value? No. |
#16
| |||
| |||
|
|
Michael Fesser wrote: .oO(Bergamot) Aren't the quotes around the $link variable part of the <a> code, i.e. for quoting the href attribute value? No. Duh - my eyes were looking at "%s" but the brain substituted "$link" |

![]() |
| Thread Tools | |
| Display Modes | |
| |