File: sh.xml

package info (click to toggle)
gedit 2.14.4-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,300 kB
  • ctags: 4,353
  • sloc: ansic: 40,912; xml: 20,600; sh: 9,000; python: 4,628; makefile: 686
file content (35 lines) | stat: -rw-r--r-- 852 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="sh">
  <snippet id="elif">
    <text><![CDATA[elif [[ ${1:condition} ]]; then
	$0]]></text>
    <description>elif ..</description>
    <tag>elif</tag>
  </snippet>
  <snippet id="for">
    <text><![CDATA[for (( ${1:i = 0}; ${2:i < 10}; ${3:i++} )); do
	$0
done]]></text>
    <description>for .. done</description>
    <tag>for</tag>
  </snippet>
  <snippet id="if">
    <text><![CDATA[if [[ ${1:condition} ]]; then
	$0
fi]]></text>
    <description>if .. then</description>
    <tag>if</tag>
  </snippet>
  <snippet id="sh">
    <text><![CDATA[#!/bin/sh
$0]]></text>
    <description>#!/bin/sh</description>
    <tag>sh</tag>
  </snippet>
  <snippet id="bash">
    <text><![CDATA[#!/bin/bash
$0]]></text>
    <description>#!/bin/bash</description>
    <tag>bash</tag>
  </snippet>
</snippets>