04-21-2008
weird file list problem
When I do a file list in my spooler directory, I get the following
information
#ls -l |pg
-rw-rw-rw- 1 user1 ugroups 831690 Apr 03 12:52 K6A80403125051.prn :res 2330479869879093344 ext 2330477052380546512 align
-rw-rw-rw- 1 user1 ugroups 5900 Apr 03 14:19 K6A80403141858.idx :res 2330595387319513456 ext 2330592569820966624 align
-rw-rw-rw- 1 user1 ugroups 213772 Apr 03 14:19 K6A80403141858.prn :res 2330710904759933568 ext 2330708087261386736 align
-rw-rw-rw- 1 user1 ugroups 4744 Apr 03 16:05 K6A80403160554.idx :res 2330826422200353680 ext 2330823604701806848 align
I would like to know what is :res 2402755442114055840 ext 2402752624615509008 align
and how to fix this problem.
Thanks
JMMora
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler
#!/bin/ksh
VAR='Oranges'
if
then
echo "Found Lemons"
elif
then
echo "Found Oranges"
fi
The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
2. Solaris
Greetings To All!
I am running Solaris 10 in a sparc environment.
Here is the deal:
In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a
crontab -l sys, it returns:
# 0 * * * 0-6 /usr/lib/sa/sa1
# 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
# 5 18 * * 1-5 /usr/lib/sa/sa2... (8 Replies)
Discussion started by: RobSand
8 Replies
3. Shell Programming and Scripting
I am trying to find the difference in days between 2 dates.
I have to extract the 1st date from a filename, which i did using the awk command.
I have to compare this date to today's date and if the difference is greater than 30 days, do something, else do something else.
This is what i wrote... (22 Replies)
Discussion started by: meeraKh
22 Replies
4. UNIX for Advanced & Expert Users
Hi,
I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc.
Here is what the ls -li outputs
root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l
ls: cannot access TRUNK_: No such file or directory
ls: cannot access 2006_output.mv:... (11 Replies)
Discussion started by: nitin
11 Replies
5. Infrastructure Monitoring
Hi,
I want to install net-snmp-devel package but i have following dependecy problem.
It's very odd, i don't get it. One of packages is depended on the other one, the other one is depended on the previous one as well. :S :S
Could you help me please?
Here are the steps:
# ls -l
total... (4 Replies)
Discussion started by: oduth
4 Replies
6. Shell Programming and Scripting
sqlLogftp_mov=$LOGDIR/logftp_mov_$mydate.log
sqlplus -s $ORAUSER << EOF > $sqlLogftp_mov
SET SERVEROUT ON
@/$SCRIPTDIR/rep_comm_ext_tbl_load.sql
EOF
retorno=0
cnt=`grep -q 'ORA-' $sqlLogftp_mov | wc -l`
if ;
then
retorno=1
echo 'Failure'
sendEmailFalha
exit 1
fi
if ;
then
echo... (8 Replies)
Discussion started by: shyamaladevi
8 Replies
7. UNIX for Dummies Questions & Answers
Hi.
First post, and Linux newbie, so maybe I'm missing something obvious:
I have a Synology NAS that is run by a Linux distribution (which?). I have had an external hard drive connected to the NAS for making backups using Synology's backup application Time Backup.
Time Backup is based on... (3 Replies)
Discussion started by: Pokersut
3 Replies
8. Shell Programming and Scripting
awk 'BEGIN{print 1.2.3.4}'
1.20.30.4
Can anyone explain why has extra "0" in the IP address? (3 Replies)
Discussion started by: newoz
3 Replies
9. UNIX for Dummies Questions & Answers
I have a weird issue going on with the join command...
I have two files I am trying to join...here is a line from each file with the important parts marked in red:
file1:
/groupspace/ccops/cmis/bauwkrcn/commsamp_20140315.txt,1
file2:... (3 Replies)
Discussion started by: dbiggied
3 Replies
10. Shell Programming and Scripting
Hi,
I have a simple awk script:
BEGIN{}
{
$a=$2-$1;
print $a
}
END{if(NR==0){
print "0"
}
}
to which I provide the following input
2.9 14
22.2 27 (4 Replies)
Discussion started by: jamie_123
4 Replies
LEARN ABOUT DEBIAN
data::formvalidator::constraintsfactory
Data::FormValidator::ConstraintsFactory(3pm) User Contributed Perl Documentation Data::FormValidator::ConstraintsFactory(3pm)
NAME
Data::FormValidator::ConstraintsFactory - Module to create constraints for HTML::FormValidator.
DESCRIPTION
This module contains functions to help generate complex constraints.
If you are writing new code, take a look at Data::FormValidator::Constraints::MethodsFactory instead. It's a modern alternative to what's
here, offering improved names and syntax.
SYNOPSIS
use Data::FormValidator::ConstraintsFactory qw( :set :bool );
constraints => {
param1 => make_or_constraint(
make_num_set_constraint( -1, ( 1 .. 10 ) ),
make_set_constraint( 1, ( 20 .. 30 ) ),
),
province => make_word_set_constraint( 1, "AB QC ON TN NU" ),
bid => make_range_constraint( 1, 1, 10 ),
}
BOOLEAN CONSTRAINTS
Those constraints are available by using the ":bool" tag.
make_not_constraint( $c1 )
This will create a constraint that will return the negation of the result of constraint $c1.
make_or_constraint( @constraints )
This will create a constraint that will return the result of the first constraint that return an non false result.
make_and_constraint( @constraints )
This will create a constraint that will return the result of the first constraint that return an non false result only if all constraints
returns a non-false results.
SET CONSTRAINTS
Those constraints are available by using the ":set" tag.
make_set_constraint( $res, @elements )
This will create a constraint that will return $res if the value is one of the @elements set, or the negation of $res otherwise.
The "eq" operator is used for comparison.
make_num_set_constraint( $res, @elements )
This will create a constraint that will return $res if the value is one of the @elements set, or the negation of $res otherwise.
The "==" operator is used for comparison.
make_word_set_constraint( $res, $set )
This will create a constraint that will return $res if the value is a word in $set, or the negation of $res otherwise.
make_cmp_set_constraint( $res, $cmp, @elements )
This will create a constraint that will return $res if the value is one of the @elements set, or the negation of $res otherwise.
$cmp is a function which takes two argument and should return true or false depending if the two elements are equal.
NUMERICAL LOGICAL CONSTRAINTS
Those constraints are available by using the ":num" tag.
make_clamp_constraint( $res, $low, $high )
This will create a constraint that will return $res if the value is between $low and $high bounds included or its negation otherwise.
make_lt_constraint( $res, $bound )
This will create a constraint that will return $res if the value is lower than $bound, or the negation of $res otherwise.
make_le_constraint( $res, $bound )
This will create a constraint that will return $res if the value is lower or equal than $bound, or the negation of $res otherwise.
make_gt_constraint( $res, $bound )
This will create a constraint that will return $res if the value is greater than $bound, or the negation of $res otherwise.
make_ge_constraint( $res, $bound )
This will create a constraint that will return $res if the value is greater or equal than $bound, or the negation of $res otherwise.
OTHER CONSTRAINTS
make_length_constraint($max_length)
This will create a constraint that will return true if the value has a length of less than or equal to $max_length
SEE ALSO
Data::FormValidator(3)
AUTHOR
Author: Francis J. Lacoste <francis.lacoste@iNsu.COM> Maintainer: Mark Stosberg <mark@summersault.com>
COPYRIGHT
Copyright (c) 2000 iNsu Innovations Inc. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms as perl itself.
perl v5.14.2 2011-11-25 Data::FormValidator::ConstraintsFactory(3pm)