This is mainly using scripts using bash as interpreter and as a result of using the at command I have to meter sh. But I can not so I ask for your help.
This is my bash script that works well:
It therefore gives 0,1,2,3,4,5,6,7,8 and 9.Code:#!/bin/bash a=0 while [ $a -ne 10 ] do echo $a >>/dev/pts/0 (( a = a +1 )) done exit 0
and I would do the same thing in sh unfortunately it does not:
So if someone knows an equivalent in shCode:(( a = a + 1 ))
Bookmarks