newbie01 perl wrote:
Hi,
Hello,
Does anyone know of any permission bit "translator"? One that can
translate the permission bit from its textual value to its octal value
and vice versa. It is alright if it is always just rwx but on a lot of
occasions nowadays, getting a lots of s, S, t, etc.
On Fri, 11 Mar 2011 15:03:14 +1300
newbie01 perl wrote:
> Hi,
>
> Does anyone know of any permission bit "translator"? One that can
> translate the permission bit from its textual value to its octal value
> and vice versa. It is alright if it is always just rwx but on a lot of
> occasions nowada
On 11/03/2011 02:03, newbie01 perl wrote:
Does anyone know of any permission bit "translator"? One that can
translate the permission bit from its textual value to its octal value
and vice versa. It is alright if it is always just rwx but on a lot of
occasions nowadays, getting a lots of s, S, t,
Hi,
Does anyone know of any permission bit "translator"? One that can
translate the permission bit from its textual value to its octal value
and vice versa. It is alright if it is always just rwx but on a lot of
occasions nowadays, getting a lots of s, S, t, etc.
-rwxrwxrwx 1 oracle dba
On 10/03/2011 23:13, newbie01 perl wrote:
On Fri, Mar 11, 2011 at 6:19 AM, Rob Dixon
On 10/03/2011 15:33, newbie01 perl wrote:
Just want to know what improvement can be done with the code
below if any. I am sure a lot of improvement/changes is required.
I will be calling this script from a UNI
On 10/03/2011 15:33, newbie01 perl wrote:
> Hi all,
>
> Just want to know what improvement can be done with the code below if any. I
> am sure a lot of improvement/changes is required. I will be calling this
> script from a UNIX script, i.e.timediff=`timediff.pl $file`, so $file will
> be passed t
On 11-03-10 10:33 AM, newbie01 perl wrote:
#!/usr/bin/perl
#$today = localtime();
$today_epoch = time();
$today = localtime($today_epoch);
my @today = localtime( $today_epoch ); # When in list context,
localtime returns an array that can be use with strftime
@date_fields = split(" ",$toda
Hi all,
Just want to know what improvement can be done with the code below if any. I
am sure a lot of improvement/changes is required. I will be calling this
script from a UNIX script, i.e.timediff=`timediff.pl $file`, so $file will
be passed to the Perl script. It's probably a good idea to check
>
> That sounds only "slightly" different. Please examine the code that I have
> provided and modify it for your own, specific needs.
>
U are right, I think I'm really close to the solution of my problem..
I tried to put all the lesson togheter and I got this script that do what i
want:
#!/usr/b