11-28-2007
Cheers blowtorch.
Hadn't heard of the terminology prior.
Many thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person.
Any suggestions ? ? ?
Thanks.
....svp (6 Replies)
Discussion started by: svp4444
6 Replies
2. UNIX for Advanced & Expert Users
Being the clever-clogs that I am, I have managed to clobber the contents of /etc/mnttab.
It started when I tried to unmount all the volumes in a prticular veritas disk group and neglected to include a suitable grep in my command line, thus attempting to unmount _all_ the filesystems on the... (7 Replies)
Discussion started by: Smiling Dragon
7 Replies
3. Linux
Hi All,
Where is now the /etc/mnttab if you are in veritas sfha for red hat es 4?
Thanks in advance for any comments. (2 Replies)
Discussion started by: itik
2 Replies
4. UNIX for Dummies Questions & Answers
what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Discussion started by: hrist
4 Replies
5. Solaris
Hi All,
My current /usr utilization is 100%.As i don't have another harddisk i decided to delete some unnecessary files under /usr.But,while deleteing it is giving error "it is a readonly filesystem".I checked /etc/mnttab file it is showing the following entry
/dev/lofi/1 /usr hsfs ... (3 Replies)
Discussion started by: navjotmannan
3 Replies
6. Solaris
what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for
one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly. (12 Replies)
Discussion started by: chidori
12 Replies
7. Solaris
SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise
I have been asked to move all file from /CV to /EABATCH
looking at our mnttab I see these two entries.
wdcprodhome:/eabatch/EABATCH /EABATCH nfs nodevices,bg,intr,xattr,zone=cbp011,dev=5500010 1288539528
... (0 Replies)
Discussion started by: Harleyrci
0 Replies
8. HP-UX
hi,
bdf command hangs but before it, it lists all the fstab content, so i cannot find the reason...
could anybody give me any clue??
thanks a lot for your attention.
regards
Pablo
i attach syslog
Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d... (7 Replies)
Discussion started by: pabloli150
7 Replies
9. HP-UX
Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Guys
New to this forum so apologies if posted in wrong place. Got a unixware 7.1.3 system (I know !). df -k produces no output which I believe is because /etc/mnttab is empty. Can /etc/mnttab be re-built ?
Thanks (2 Replies)
Discussion started by: deel
2 Replies
LEARN ABOUT CENTOS
perl::critic::policy::regularexpressions::prohibitescapedmetacha
Perl::Critic::Policy::RegularExpressions::ProhibitEscapeUseraContributedPerl::Critic::Policy::RegularExpressions::ProhibitEscapedMetacharacters(3)
NAME
Perl::Critic::Policy::RegularExpressions::ProhibitEscapedMetacharacters - Use character classes for literal meta-characters instead of
escapes.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
Ever heard of leaning toothpick syndrome? That comes from writing regular expressions that match on characters that are significant in
regular expressions. For example, the expression to match four forward slashes looks like:
m//////;
Well, this policy doesn't solve that problem (write it as "m{////}" instead!) but solves a related one. As seen above, the escapes make
the expression hard to parse visually. One solution is to use character classes. You see, inside of character classes, the only
characters that are special are "", "]", "^" and "-", so you don't need to escape the others. So instead of the following loose IPv4
address matcher:
m/ d+ . d+ . d+ . d+ /x;
You could write:
m/ d+ [.] d+ [.] d+ [.] d+ /x;
which is certainly more readable, if less recognizable prior the publication of Perl Best Practices. (Of course, you should really use
Regexp::Common::net to match IPv4 addresses!)
Specifically, this policy forbids backslashes immediately prior to the following characters:
{ } ( ) . * + ? | #
We make special exception for "$" because "/[$]/" turns into "/[5.008006/" for Perl 5.8.6. We also make an exception for "^" because it
has special meaning (negation) in a character class. Finally, "[" and "]" are exempt, of course, because they are awkward to represent in
character classes.
Note that this policy does not forbid unnecessary escaping. So go ahead and (pointlessly) escape "!" characters.
CONFIGURATION
This Policy is not configurable except for the standard options.
BUGS
Perl treats "m/[#]/x" in unexpected ways. I think it's a bug in Perl itself, but am not 100% sure that I have not simply misunderstood...
This part makes sense:
"#f" =~ m/[#]f/x; # match
"#f" =~ m/[#]a/x; # no match
This doesn't:
$qr = qr/f/;
"#f" =~ m/[#]$qr/x; # no match
Neither does this:
print qr/[#]$qr/x; # yields '(?x-ism:[#]$qr
)'
CREDITS
Initial development of this policy was supported by a grant from the Perl Foundation.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright (c) 2007-2011 Chris Dolan. Many rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module
perl v5.16.3 2014Perl::Critic::Policy::RegularExpressions::ProhibitEscapedMetacharacters(3)