DynamoRIO / DynamoRIO/dynamorio

ctags command line in wiki contains a syntax error

Open
#3,051 1 comment 0 reactions 1 assignee Claimed by @peterfeiner View on GitHub
Component-Docs
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

From https://github.com/DynamoRIO/dynamorio/wiki/Coding-Tips

```
$ cat ctags.sh
ctags-exuberant '--exclude=win32/*' \
'--regex-c=/([\t](^)+)[ \t]+VAR_IN_SECTION/\1/d,definition/'\
'--regex-c=/DECLARE_[\t,](A-Z]*_VAR\(([^)*[](\t)+)*\**([,](^)+),/\2/d,definition/'\
'--regex-asm=/DECLARE_['--regex-asm=/#[ \t](A-Z_]*FUNC\((.+)\)/\1/d,definition/'\)*define[ \t]+([\t](^()+)/\1/d,definition/'\
'--regex-c++=/OPTION_?[\t](^(]*\([^,)]*,[)*([)\t](^,)+).*/\1/d,definition/'\
-R .
```
```
$ ./ctags.sh
ctags.sh: line 4: syntax error near unexpected token `('
ctags.sh: line 4: ` '--regex-asm=/DECLARE_['--regex-asm=/#[ \t](A-Z_]*FUNC\((.+)\)/\1/d,definition/'\)*define[ \t]+([\t](^()+)/\1/d,definition/'\'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.