Search Results

Search: Posts Made By: dbfree
10,380
Posted By dbfree
Hi, How do you suggest me to code the test...
Hi,

How do you suggest me to code the test ?

Many Thanks :)
10,380
Posted By dbfree
Problem with find ! -newer
Hi,

I would like to find if a file called test.log is older than 10 min.

So i wrote :

#!/usr/bin/ksh
FICLOG="/home/uuu/result_test.log"
FIC="/home/uuu/test.log"

touch -t `perl -e 'use...
1,887
Posted By dbfree
Thanks :) It was just : tr -d '\t' <...
Thanks :)

It was just :
tr -d '\t' < oldfile > newfile
since I had to suppress <tab> character
1,887
Posted By dbfree
Indeed, $DPSTY had no value, I just remplaced...
Indeed, $DPSTY had no value, I just remplaced with FILE="DPSTY" and that runs.
Thank you.

I just have another question :
how to easily remove the <tab> character from the result records ?
1,887
Posted By dbfree
Creating an updated file
Hi,

I would like to define a script in order to update a file with the last updated records:

I wrote :

#!/bin/sh

YEAR=$(date +%Y)
MONTH=$(date +%m)
DAY=$(date +%d)

COMM=/usr/bin/comm...
Showing results 1 to 5 of 5

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