Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash syntax highlighting doesn't support array length #1235

Closed
redchair123 opened this issue Feb 3, 2013 · 2 comments · Fixed by #1236
Closed

Bash syntax highlighting doesn't support array length #1235

redchair123 opened this issue Feb 3, 2013 · 2 comments · Fixed by #1236

Comments

@redchair123
Copy link

http://paste.pm/134.sh

The author of the website @jdiez17 uses ace and it is improperly highlighted (treats the hash as a comment when it actually refers to count)

To prove that it is valid BASH, try this in the shell:

$ x=(1 2 3)
$ echo ${#x[@]}
3
@gjtorikian
Copy link
Contributor

Interesting! I'll take a look at this.

@jdiez17
Copy link

jdiez17 commented Feb 7, 2013

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants