3 added 155 characters in body
source | link

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

(alias s2st="ps -A | grep -E "a|b"" would not work in bash, as the second " would close the first " so the second | would not be quoted).

In csh

alias s2st 'ps -A | grep -E "a|b"'

Strong quotes in both bash and csh are '...'. They are less strong in csh though where ! and newline (and backslash when preceding those) are still special.

In TCL, strong quotes are {...} with the added benefit that { and } can occur within them as long as they are matched.

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

In csh

alias s2st 'ps -A | grep -E "a|b"'

Strong quotes in both bash and csh are '...'. They are less strong in csh though where ! and newline (and backslash when preceding those) are still special.

In TCL, strong quotes are {...} with the added benefit that { and } can occur within them as long as they are matched.

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

(alias s2st="ps -A | grep -E "a|b"" would not work in bash, as the second " would close the first " so the second | would not be quoted).

In csh

alias s2st 'ps -A | grep -E "a|b"'

Strong quotes in both bash and csh are '...'. They are less strong in csh though where ! and newline (and backslash when preceding those) are still special.

In TCL, strong quotes are {...} with the added benefit that { and } can occur within them as long as they are matched.

2 added 297 characters in body
source | link

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

In csh

alias s2st 'ps -A | grep -E "a|b"'

Strong quotes in both bash and csh are '...'. They are less strong in csh though where ! and newline (and backslash when preceding those) are still special.

In TCL, strong quotes are {...} with the added benefit that { and } can occur within them as long as they are matched.

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

In csh

alias s2st 'ps -A | grep -E "a|b"'

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

In csh

alias s2st 'ps -A | grep -E "a|b"'

Strong quotes in both bash and csh are '...'. They are less strong in csh though where ! and newline (and backslash when preceding those) are still special.

In TCL, strong quotes are {...} with the added benefit that { and } can occur within them as long as they are matched.

1
source | link

In bash, that should be:

alias s2st='ps -A | grep -E "a|b"'

In csh

alias s2st 'ps -A | grep -E "a|b"'