Skip to main content
added 12 characters in body
Source Link
Elliptical view
  • 3.6k
  • 1
  • 33
  • 29

Also with indented source code you can use <<-<<- (with a trailing dash) to ignore leading tabs to ignore leading tabs (but not leading spaces). For

For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces).

For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2
deleted 2 characters in body
Source Link
Elliptical view
  • 3.6k
  • 1
  • 33
  • 29

Also with indented source code you can use <<-<<- (with a trailing dash) to ignore leading tabs (but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2
added 7 characters in body
Source Link
Elliptical view
  • 3.6k
  • 1
  • 33
  • 29

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs or(but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs or spaces. For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2

Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces). For example this:

if [ some test ]; then
    cat <<- xx
        line1
        line2
xx
fi

Outputs indented text without the leading whitespace:

line1
line2
Source Link
Elliptical view
  • 3.6k
  • 1
  • 33
  • 29
Loading