User Tools

Site Tools


user:adahmane:portfolio:unix4
#!/bin/bash
#
#
#
 
IFS=;for line in `cat coursedata`; do
        crn=`echo $line | sed 's/^.* - \(.....\) - .....*$/\1/g'`
                touch $crn
                echo $line >> $crn
done
user/adahmane/portfolio/unix4.txt · Last modified: 2013/12/14 16:36 by adahmane