Reputation
7,419
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
14 24
Impact
~261k people reached

6h
awarded  shell-script
16h
comment Is it possible to echo into a file, but use indenting in the shell script source?
@user4668401: The final EOF must be left aligned, unless you use <<-EOF and indent the final EOF with tabs only.
18h
comment Is it possible to echo into a file, but use indenting in the shell script source?
@user4668401: Check the update.
18h
revised Is it possible to echo into a file, but use indenting in the shell script source?
added 179 characters in body
18h
comment Is it possible to echo into a file, but use indenting in the shell script source?
@user4668401: Unfortunately, all leading tabs are removed.
18h
awarded  Good Answer
18h
answered Is it possible to echo into a file, but use indenting in the shell script source?
1d
answered put data in columns
Apr
21
comment Adding vertical space after command in bash
How would you implement it on a text console?
Apr
20
comment Listing functions defined in a “sourced” script?
declare -f lists all the declared functions.
Apr
19
awarded  Nice Answer
Apr
17
awarded  Nice Answer
Apr
17
comment bash: -eq vs. == and `bc` output type
If the number is always integer, why don't you just abs=${val#-}?
Apr
17
comment Set the TCP window scaling option to 4 & the TCP window size to 65535
superuser.com/q/902799/105002
Apr
17
comment Is there an alternative to sed that supports unicode?
@chaos: It works under en_US.UTF-8, but doesn't under C.
Apr
17
comment Is there an alternative to sed that supports unicode?
@chaos: I'm not getting the character back. Maybe the behaviour depends on locale?
Apr
17
answered Is there an alternative to sed that supports unicode?
Apr
16
answered How do I extract parts of a string to variables?
Apr
14
comment Using the grep filter
What happens when you enclose the expresion in quotes? grep -i 'h[ae]llo' hello.txt
Apr
14
comment Using fixed strings in regular expressions?
Use Perl instead of bash: quotemeta.