User Tools

Site Tools


ops102:bash_scripting_2_-_loops

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ops102:bash_scripting_2_-_loops [2025/03/11 03:53] – [Number-Guessing Game] chrisops102:bash_scripting_2_-_loops [2025/03/11 03:54] (current) – [tput Colour Codes] chris
Line 104: Line 104:
   do   do
   tput setaf $C   # Set foreground to colour $C   tput setaf $C   # Set foreground to colour $C
-  echo "This is colour $C"+  echo "Colour $C"
   done   done
   tput sgr0   # Reset to "normal" text mode   tput sgr0   # Reset to "normal" text mode
ops102/bash_scripting_2_-_loops.1741665198.txt.gz · Last modified: 2025/03/11 03:53 by chris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki