[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
script requires \ after | just to get correct indentation
From: |
Samuel Wales |
Subject: |
script requires \ after | just to get correct indentation |
Date: |
Mon, 23 Jun 2014 18:17:03 -0700 |
this has correct indentation for my style, but is ugly and can't have comments.
example-forced-to-do () {
command1 | \
command2 | \
command3
}
this shows comments.
example-of-comments-not-working () {
echo useless use of cat because i am a badass | \
# african cat
# these can be kind of big
cat | \
# house cat
cat | \
cat
}
this is good but emacs does not indent correctly. is it possible?
example-i-want-this () {
command1 |
# african cat
# these can be kind of big
command2 |
# house cat
command3
}
- script requires \ after | just to get correct indentation,
Samuel Wales <=