JoeJaz has asked for the wisdom of the Perl Monks concerning the following question:
Disk quotas for jjasinsk (uid 6722945): Filesystem usage quota limit timeleft files quota limit + timeleft /var/mail 10688 15360 16384 0 0 0 + /export/home3 98386 307200 308224 2003 0 0
#!/usr/bin/perl $input=`quota -v`; $input =~ s/\/export\/home[1-5] *\n/\/home/; $input =~ s/\s+/ /g; $input =~ s/\/var/\n\/var/; $input =~ s/\/home/\n\/home/; $input =~ s/: /:\n/; print $input;
Disk quotas for jjasinsk (uid 6722945): Filesystem usage quota limit timeleft files quota limit timeleft /var/mail 10688 15360 16384 0 0 0 /home 98386 307200 308224 2003 0 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Irregular Expressions
by shotgunefx (Parson) on Jun 17, 2003 at 16:21 UTC | |
by JoeJaz (Monk) on Jun 17, 2003 at 16:39 UTC | |
|
Re: Irregular Expressions
by monsieur_champs (Curate) on Jun 17, 2003 at 16:36 UTC | |
by JoeJaz (Monk) on Jun 17, 2003 at 16:46 UTC | |
|
Re: Irregular Expressions
by Anonymous Monk on Jun 17, 2003 at 16:18 UTC | |
by JoeJaz (Monk) on Jun 17, 2003 at 16:30 UTC | |
|
(jeffa) Re: Irregular Expressions
by jeffa (Bishop) on Jun 17, 2003 at 21:41 UTC | |
by JoeJaz (Monk) on Jun 18, 2003 at 20:04 UTC | |
|
Re: Irregular Expressions
by ant9000 (Monk) on Jun 17, 2003 at 16:34 UTC | |
by JoeJaz (Monk) on Jun 17, 2003 at 16:52 UTC | |
|
Re: Irregular Expressions
by hmerrill (Friar) on Jun 17, 2003 at 18:00 UTC | |
by JoeJaz (Monk) on Jun 17, 2003 at 18:22 UTC | |
by Nkuvu (Priest) on Jun 17, 2003 at 21:15 UTC |