Implements high-performance Bash array patterns, associative mapping, and efficient data processing techniques for modern shell scripts.
This skill provides a comprehensive toolkit for managing Bash arrays using 2025 best practices. It enables Claude to implement robust indexed and associative arrays, handle large datasets efficiently with mapfile and readarray, and perform complex transformations like filtering, sorting, and unique value extraction without external dependencies. By emphasizing performance-optimized patterns—such as avoiding subshells in loops and utilizing Bash 5.3+ features—it helps developers build faster, more reliable automation scripts and DevOps workflows.
主要功能
01Version-specific support for Bash 5.2+ subscripts and GLOBSORT functionality
027 GitHub stars
03Pure Bash implementations of common data structures like Stacks and Queues
04Secure array initialization and safe handling of filenames with spaces
05Advanced associative array patterns for configuration management and caching
06High-performance file reading using mapfile/readarray with custom delimiters
使用场景
01Processing and transforming large log files or CSV data directly in the shell
02Building complex automation tools that require state management and key-value mapping
03Refactoring legacy shell scripts to use modern, memory-efficient array structures