https://github.com/shalithasuranga/bash-csv-parser-example
Parsing CSV files with Bash IFS
https://github.com/shalithasuranga/bash-csv-parser-example
Last synced: about 2 months ago
JSON representation
Parsing CSV files with Bash IFS
- Host: GitHub
- URL: https://github.com/shalithasuranga/bash-csv-parser-example
- Owner: shalithasuranga
- License: mit
- Created: 2022-07-01T15:29:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T05:38:37.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T00:29:17.166Z (4 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bash-csv-parser-example
Parsing CSV files with Bash IFS
## How to run this script?
```bash
./parse.sh
```## Sample output
CSV input:
```
Fruit,Price(USD)
Orange,0.2
Pineapple,0.5
Mango,1.4
```Output:
```
Orange : $0.20
Pineapple : $0.50
Mango : $1.40
```## License
[MIT](LICENSE)