Horje
read file and  while loop example Code Example
read file and while loop example
#!/bin/sh
while read input_text
do
  case $input_text in
        hello)          echo English    ;;
        howdy)          echo American   ;;
        gday)           echo Australian ;;
        bonjour)        echo French     ;;
        "guten tag")    echo German     ;;
        *)              echo Unknown Language: $input_text
                ;;
   esac
done < myfile.txt




Shell

Related
start vagrant Code Example start vagrant Code Example
microstack connect to mysql server Code Example microstack connect to mysql server Code Example
ubuntu vim-plug install Code Example ubuntu vim-plug install Code Example
homebrew install autoconf Code Example homebrew install autoconf Code Example
csv utf-8 to iso-8859-1 python Code Example csv utf-8 to iso-8859-1 python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8