./startup.sh: 21: Syntax error: word unexpected (expecting "in")
- Dominant language
- Go
- Stars
- 4.1k
- Forks
- 2.2k
- Avg merge
- 10d 12h
- Merged PRs (30d)
- 4
Description
- [ ] I have searched the [issues](https://github.com/apache/dubbo-admin/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [REAMDE](https://github.com/apache/dubbo-admin/blob/develop/README.md) of this repository and believe that this is not a duplicate.
### Is your feature request related to a problem? Please describe.
ubuntu系统启动时报“./startup.sh: 21: Syntax error: word unexpected (expecting "in")”
: not foundh: 2:
./startup.sh: 21: Syntax error: word unexpected (expecting "in")
### Describe the solution you'd like
A clear and concise description of what you want to happen.
### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
### Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
Research direction
Start with startup.sh, especially line 21, and compare its shell syntax with the Ubuntu environment reported in the issue. Run ./startup.sh on Ubuntu to reproduce the error; done means the script starts without the reported syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, ubuntu
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100