Skip to content

**CSV Parameter Extractor** is a Bash script for parsing CSV files, extracting individual parameters from each line, and printing them on separate lines. Ideal for data extraction and transformation tasks.

Notifications You must be signed in to change notification settings

EsamLasheen/CSV-Parameter-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

CSV Parameter Extractor

elephant

The CSV Parameter Extractor is a Bash script designed to parse CSV (Comma-Separated Values) files and extract individual parameters from each line. It provides a simple and efficient way to work with CSV data, allowing you to extract specific values for further processing or analysis.

Features

  • Reads a CSV file and extracts parameters from each line.
  • Supports parsing CSV files with different column configurations.
  • Outputs each parameter on a separate line.
  • Easy to integrate into existing Bash scripts or workflows.
  • Lightweight and minimal dependencies.

Usage

  1. Make sure you have Bash installed on your system.
  2. Clone the repository or download the ./CSV-Parameter-Reader.sh file.
  3. Set the execute permission for the script: ./CSV-Parameter-Reader.sh.
  4. Run the script, providing the path to your CSV file as the command-line argument:

./CSV-Parameter-Reader.sh <path_to_csv_file>

Example

Consider a CSV file data.csv with the following contents: Name, Age, City John Doe, 25, New York Jane Smith, 30, Los Angeles Adam Johnson, 35, Chicago

Running the CSV Parameter Extractor on data.csv will produce the following output:

Name
Age
City
John Doe
25
New York
Jane Smith
30
Los Angeles
Adam Johnson
35
Chicago
^_^

License

This project is licensed under the MIT License.

Feel free to contribute, open issues, or provide suggestions for improvements.

About

**CSV Parameter Extractor** is a Bash script for parsing CSV files, extracting individual parameters from each line, and printing them on separate lines. Ideal for data extraction and transformation tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages