Thursday, September 13, 2012

3 ways to assign a variable into a variable

بسم الله

أنا أحب اللغة بَشْ
I love the BASH language

The following are 3 ways to assign a variable into another variable in BASH بَشْ

VAR1=`echo $VAR2`

VAR1=$(echo $VAR2)

VAR1="$2"

In my personal view, the third method is the most handsome! Please take note that there is no space in between the = sign

Tuesday, September 11, 2012

Arabic root words characteristics

1. It is always past tense مَاضِي
2. It is always 3rd person  غَائِب
3. It is always singular مُفْرَد
4. It is always masculine مُذَكَّر