Indent (UNIX)
使用範例
indent somefile.c -st -bad—blank-lines-after-procedures -bli0 -i4 -l79 \ -ncs -npcs -nut -npsl -fca -lc79 -fc1
將somefile.c的樣式縮排成像BSD/Allman樣式,然後將結果寫到標準輸出。
GNU indent
![]() | |
| 原作者 | David Ingamells, Carlo Wood, Joseph Arceneaux, Jim Kingdon, John Bridges |
|---|---|
| 開發者 | FSF |
| 当前版本 | |
| 源代码库 | |
| 编程语言 | C |
| 操作系统 | 跨平台 |
| 类型 | 程式源碼樣式整理工具 |
| 许可协议 | GPL |
| 网站 | http://www.gnu.org/software/indent/ |
GNU indent是indent的GNU計畫版本,不過,GNU indent使用GNU樣式做為樣式的預設值。
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.
