Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Perl only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Perl
How to match the file permissions got after command "ls -l" ?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
perlid
New Member
Join Date:
Apr 2007
Posts:
1
#1
How to match the file permissions got after command "ls -l" ?
Apr 25 '07, 09:03 AM
Hi,
I'm trying to match the characters "-rwx ********".
How to match them ? need help.
tonreup
New Member
Join Date:
Apr 2007
Posts:
1
#2
Apr 25 '07, 12:45 PM
Originally posted by
perlid
Hi,
I'm trying to match the characters "-rwx ********".
How to match them ? need help.
hi, i guess u have to use the regular expression to match it.
Comment
Post
Cancel
KevinADC
Recognized Expert
Specialist
Join Date:
Jan 2007
Posts:
4092
#3
Apr 25 '07, 06:27 PM
Next time you ask a question please post the code you have tried so far:
Code:
/-rwx \*{8}/
Comment
Post
Cancel
savanm
New Member
Join Date:
Oct 2006
Posts:
85
#4
Apr 26 '07, 08:53 AM
Hi,
When ever u post ur question, tel ur need briefly with exampl nd ur code
$temp=~/"-rwx([^"]+)"/g;
This may satisfy ur need
Thanx
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment