Search Results

Search: Posts Made By: rohit.shetty84
2,253
Posted By rohit.shetty84
formatting of the text file
Hi Guys,

I have a file with contents in the below format

DO_VJ_IDOC;03.23.2009;22:31:09;
ZJDO_VJ_IDOC;03.23.2009;22:46:14;
ZJDO_RESEND_FAILURES;03.24.2009;01:46:18;

Now i need to replace...
2,281
Posted By rohit.shetty84
thnx it worked!!
thnx it worked!!
2,281
Posted By rohit.shetty84
Word "Person rejected:" may not be there...
Word "Person rejected:" may not be there everytime with the number.

So bifurcating the line based on "Person rejected:" does not seem to a good option to me..Instead i would prefer the line to be...
2,281
Posted By rohit.shetty84
extract only the "numbers" that are present in this file to a seperate file..
It may sounds too easy but appreciate any help on this..

i have a file with the below details:
******************************************
Please find the locked pernr details for the Time...
1,707
Posted By rohit.shetty84
Format data before i email it to the User
Hi,

i have a report which I basically need to format before i email it to the User.

it comrises of data in below format currently

YOMP_CSC_ASSESS_SCY062 cancelled
SOMO_Ckswed_ACEAMT_PC3...
10,594
Posted By rohit.shetty84
Not able to send email as CC to a ID using Mailx command in HP UX
Hey Guys,

I have been trying to send a email as ccto a email ID .However it seems the -c option is not working in HP UX system.

It is shooting an error as "mailx: illegal option -- c"

My...
15,332
Posted By rohit.shetty84
To send an email with the body content extracted from a file
Hi,

I have been trying to shoot an email with the email body to be obtained from a file.

Can someone please help me with it..

I have been trying to use the MAILX commad for the same.
...
1,990
Posted By rohit.shetty84
I tried the code with my system and it is working...
I tried the code with my system and it is working properly..
83,606
Posted By rohit.shetty84
Use this script sed -e's/" *,/",/g' -e's/,...
Use this script

sed -e's/" *,/",/g' -e's/, *"/,"/g'
3,848
Posted By rohit.shetty84
Try this script file=$(find...
Try this script


file=$(find /usr/uc4/tmp/ -name '*.txt')

for myfile in $file
do

b=$(cksum $myfile)
a=$(cat $myfile |wc -w)
print Wordcount $a Checksum $b
done

Hope it works:cool:
4,897
Posted By rohit.shetty84
I am not sure if Find command with the current...
I am not sure if Find command with the current directory will work here as it will still search within the subdirectories of the current directory..:confused:

find . -name 'dir5' -prune -o -name...
6,571
Posted By rohit.shetty84
Try this one! for filename in...
Try this one!

for filename in $FROM_DIR/*.txt
do
echo "${FILENAME}"
echo 'File '${FileName}' exists number records = '`wc -w ${FileName}`
done

Hope it helps :b::cool:
Showing results 1 to 12 of 12

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