~ubuntu-branches/ubuntu/trusty/devscripts/trusty-updates

« back to all changes in this revision

Viewing changes to test/bashisms/heredoc-with-dash.sh

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-02-18 22:27:33 UTC
  • mfrom: (10.9.22 experimental)
  • Revision ID: package-import@ubuntu.com-20130218222733-7krtkqzko32xte0z
Tags: 2.13.0ubuntu1
* Merge from Debian experimental. Remaining changes:
  - Convert python scripts to python3. (Closes: #680313)
    Debian bug #695259 needs to be fixed to get the change into Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
cat << -EOF1- 1>&2
 
4
CLEAN
 
5
-EOF1-
 
6
 
 
7
cat << -EOF2 1>&2
 
8
CLEAN
 
9
-EOF2
 
10
 
 
11
cat <<-EOF3 1>&2
 
12
CLEAN
 
13
        EOF3
 
14
 
 
15
cat <<- EOF4 1>&2
 
16
CLEAN
 
17
        EOF4
 
18
 
 
19
foo=bar
 
20
 
 
21
cat << '-EOF1-' 1>&2
 
22
CLEAN $foo
 
23
-EOF1-
 
24
 
 
25
cat << '-EOF2' 1>&2
 
26
CLEAN $foo
 
27
-EOF2
 
28
 
 
29
cat <<-'EOF3' 1>&2
 
30
CLEAN $foo
 
31
        EOF3
 
32
 
 
33
cat <<- 'EOF4' 1>&2
 
34
CLEAN $foo
 
35
        EOF4