Finished exercise 1 and 2 on lab 8

This commit is contained in:
2013-12-28 14:55:26 +01:00
parent 656f1a0eb1
commit 3a13dae36a
9 changed files with 130 additions and 1 deletions

12
Labb8/listbashusers2.sh Normal file
View File

@@ -0,0 +1,12 @@
BEGIN {
print "User Shell"
print "---- -----"
FS=":"
}
/bash/ { print $1 " "$7 }
END {
print "\nNo more Bash-users to list"
}