Search Results

Search: Posts Made By: Venkatesh1
2,962
Posted By Ygor
Perhaps try md5sum, e.g...md5sum -t files* | awk...
Perhaps try md5sum, e.g...md5sum -t files* | awk 'a[$1]{printf "%s and %s are the same\n",a[$1],$2;next}{a[$1]=$2}'
2,962
Posted By RudiC
This will give you the identical files, but no...
This will give you the identical files, but no error msg:

md5sum *|sort|uniq -w32 --all-repeated=separate|cut -f3 -d" "
2,075
Posted By rdcwayx
seq 0 365|while read line do d=$(date...
seq 0 365|while read line
do
d=$(date -d "Jan 1 +$line days " +%d%m)
filename=qqss${d}.ddd
if [[ ! -f $filename ]]; then
echo "$filename is not exist"
fi
done
2,075
Posted By Chubler_XL
Give this a go (dont think seq is available in...
Give this a go (dont think seq is available in AIX either):

#!/bin/ksh
set -A days 31 $(cal 02 $(date +%Y) | awk 'NF{E=$NF}END{print E}') 31 30 31 30 31 31 30 31 30 31

mth=0
for mth_days in...
10,307
Posted By PikK45
May be you have to extract the number from the...
May be you have to extract the number from the first line :)
10,307
Posted By Vryali
I'm really not certain if this is what you're...
I'm really not certain if this is what you're looking for, if it's not please provide a little more info:

#!/bin/sh
start_number=1
current_number=0
errfound=0
errfiles=""


for file in $(ls...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy