Linux command
sc-im 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start sc-im
sc-im
Open an existing file
sc-im [path/to/file]
Open a specific sheet
sc-im --sheet=[2] [file.xlsx]
Import formulas
sc-im --xlsx_readformulas [file.xlsx]
Save results to a file
sc-im --nocurses --output=[output.csv] [file.xlsx]
Run a script and quit
sc-im --quit_afterload [script.sc]
说明
sc-im (Spreadsheet Calculator Improvised) is a terminal-based spreadsheet application with vim-like keybindings. It supports up to 65,536 rows and 702 columns, making it suitable for substantial data manipulation directly in the terminal. The program uses ncurses for its interface and supports importing and exporting CSV, TSV, and XLSX files. It features complex formula support, macro recording, undo/redo functionality, and GNUPlot integration for charting. Cells can be colorized with 256-color support, and formatting like bold or underline can be applied. Navigation follows vim conventions: h, j, k, l move between cells, gg jumps to the first cell, G goes to the last row, and w/b move to the next/previous cell with content. Configuration is stored in ~/.config/sc-im/scimrc.
参数
- --sheet=_SHEET_
- Open specific sheet from XLSX file (name or number, default: 1).
- --version
- Print version number and enabled features, then exit.
- --nocurses
- Run interactively without the ncurses interface.
- --output=_FILE_
- Save results to specified file.
- --quit_afterload
- Quit after loading files; useful for running scripts.
- --quiet
- Suppress info, error, and debug messages.
- --autocalc
- Enable automatic recalculation.
- --numeric
- Digit starts numeric value instead of command multiplier.
- --half_page_scroll
- Scroll half page instead of full page with Ctrl-f/Ctrl-b.
- --newline_action=_VAL_
- Cursor movement after entry (j for down, l for right).
- --external_functions
- Enable external functions.
- --xlsx_readformulas
- Import formulas from XLSX rather than final cell values.
FAQ
What is the sc-im command used for?
sc-im (Spreadsheet Calculator Improvised) is a terminal-based spreadsheet application with vim-like keybindings. It supports up to 65,536 rows and 702 columns, making it suitable for substantial data manipulation directly in the terminal. The program uses ncurses for its interface and supports importing and exporting CSV, TSV, and XLSX files. It features complex formula support, macro recording, undo/redo functionality, and GNUPlot integration for charting. Cells can be colorized with 256-color support, and formatting like bold or underline can be applied. Navigation follows vim conventions: h, j, k, l move between cells, gg jumps to the first cell, G goes to the last row, and w/b move to the next/previous cell with content. Configuration is stored in ~/.config/sc-im/scimrc.
How do I run a basic sc-im example?
Run `sc-im` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --sheet=_SHEET_ do in sc-im?
Open specific sheet from XLSX file (name or number, default: 1).