~ubuntu-branches/debian/jessie/universalindentgui/jessie

« back to all changes in this revision

Viewing changes to indenters/example.sh

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-29 10:50:58 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090429105058-7xj26rwxxnir1tr7
Tags: 1.0.2-1
* New upstream release:
  - The default editor font type is now Monospace instead of Courier.
    (Closes: #483873)
* Add 01_disable_check_for_update.diff patch:
  Automatic check for update is disabled by default. (Closes: #514999)
* Bump debian/compat to 7.
* Update debian/control:
  - Set Thomas Schweitzer as maintainer and myself as uploader.
    (Closes: #483068)
  - Bump debhelper build-dependency to 7.
  - Bump Standards-Version to 3.8.1. No changes needed.
  - Update recommended beautifier list.
  - Update description to list all supported beautifiers.
* Update debian/copyright:
  - Add PerlTidy.pm and JsDecoder.js missing copyrights.
* Cleanup debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
# if else test
4
 
if [ -n "$string" ]; then
5
 
echo "The string is \"$string\"!"
6
 
else
7
 
echo "The string is empty!"
8
 
fi
9
 
 
10
 
# for test
11
 
for i in $array
12
 
do
13
 
echo "The string \"$i\" is in the array!"
14
 
done
15
 
 
16
 
while [ $count -le 10 ]
17
 
do
18
 
echo "We've counted up to $count."
19
 
count=$[$count+1]  #increment counter by one.
20
 
done
21
 
 
22
 
echo "Passed everything!"
23
 
#read -p "press any key to continue"
 
1
#!/bin/sh
 
2
 
 
3
string="Hallo Welt"
 
4
# if else test
 
5
if [ -n "$string" ]; then
 
6
echo "The string is \"$string\"!"
 
7
else
 
8
echo "The string is empty!"
 
9
fi
 
10
 
 
11
# for test
 
12
array="Text1 Text2 Text3 Text4"
 
13
for i in $array
 
14
do
 
15
echo "The string \"$i\" is in the array!"
 
16
done
 
17
 
 
18
count=0
 
19
while [ $count -le 10 ]
 
20
do
 
21
echo "We've counted up to $count."
 
22
count=$[$count+1]  #increment counter by one.
 
23
done
 
24
 
 
25
echo "Passed everything!"
 
26
#read -p "press any key to continue"
 
27