| 1 | = Server Workstation Differences = |
| 2 | |
| 3 | There are two comps files in each directory, they have the same group information but differ some other way |
| 4 | |
| 5 | {{{ |
| 6 | #!sh |
| 7 | [thomas@soms002 comps]$ grep -A1 "<group>" Workstation.xml |grep "<id>" |cut -d'>' -f2 |cut -d "<" -f1 |sort >Workstation.groups |
| 8 | [thomas@soms002 comps]$ grep -A1 "<group>" Workstation2.xml |grep "<id>" |cut -d'>' -f2 |cut -d "<" -f1 |sort >Workstation2.groups |
| 9 | [thomas@soms002 comps]$ diff Workstation.groups Workstation2.groups |
| 10 | [thomas@soms002 comps]$ ls -l Workstation*groups |
| 11 | -rw-rw-r--. 1 thomas thomas 3150 Aug 30 09:50 Workstation2.groups |
| 12 | -rw-rw-r--. 1 thomas thomas 3150 Aug 30 09:50 Workstation.groups |
| 13 | }}} |