#!/bin/bash
#**********
#Question3
echo To create a file please enter the following details
sleep 2
echo Please enter your name:
read name1
echo Please enter your age:
read number1
echo please enter location:
read DOB1
echo "${name1#*=}, ${age1#*=}, ${location#*=}" >> details.csv
sed -i 'Name, Number, DOB'
__________________________________
this is it so far. it creates a csv file in same directory. I just want to practise manipulating and formatting information from files and using it in a bash script.
I then want to sort them by age in bash as an output.
not much to ask i hope
thanks