Article 5SW8H Parameter expansion

Parameter expansion

by
Faki
from LinuxQuestions.org on (#5SW8H)
Is this how I can set `ctp` if no default has been used

Code:local ctp=""
local -r wht=$(tput setaf 7)
: ${ctp:="$wht"}latest?d=yIl2AUoC8zA latest?i=74cGYV7O9IM:JbXkpuuy0Oo:F7zBnMy latest?i=74cGYV7O9IM:JbXkpuuy0Oo:V_sGLiP latest?d=qj6IDK7rITs latest?i=74cGYV7O9IM:JbXkpuuy0Oo:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments