Search Results

Search: Posts Made By: rosh0623
7,119
Posted By rosh0623
Hey, that worked sir !! I just took out "str...
Hey, that worked sir !!

I just took out "str ~ $0" and it was working fine...
Thanks a bunch
7,119
Posted By rosh0623
hey
Hey, the $month has values as Jan till Dec (depending on the input) and $dd has 1 to 31 (again depending on the input).. So is they do have values what would be the problem?..

If I execute this...
7,119
Posted By rosh0623
hi
Hi

I donno if I made myself clear here...

when I am using the following statement in a shell script, Though the file exists, this command is failing.. thats because I guess $NF is being...
7,119
Posted By rosh0623
hel needed
Hey I'm trying to find a file in a directory in the following way..

final_file=`find . -name \*$file_name.* | xargs ls -lt | nawk '/$month $dd/ { print $NF }' | cut -f2 -d "/"`

find . -name...
10,184
Posted By rosh0623
it
it refers to the control of the program....
I meant the cursor should be at the first occurance of 'Jim'
10,184
Posted By rosh0623
question
hey how do we open a file and point it to a text/string we are searching..

for eg. we are searching for a string 'Jim' in file xxx.txt

in a shell program we have to open this file in read only...
10,184
Posted By rosh0623
works
Cool Thanks man !!
10,184
Posted By rosh0623
i did this
hey I did this..

find . -name \*hotel_rates.* | xargs ls -lt | grep "Aug 02 2006"

this gives me ..
-rw-rw-r-- 1 user group 1025 Aug 02 2006 ./hotel_rates.ZZZ.147

can some one...
10,184
Posted By rosh0623
Not a homwork
Hi Tayyab,

This is not a home work question. I started working in Unix just 6 months back. We have a daily synchronization of information with-in the internal systems of our company. like we...
10,184
Posted By rosh0623
find file with date and recursive search for a text
Hey Guyz I have a requirement something like this..

a part of file name, date of modification of that file and a text is entered as input.
like

Date : 080206 (MMDDYY format.)
filename :...
5,309
Posted By rosh0623
works ~
Works bud !!.. thanks much !
5,309
Posted By rosh0623
Tried.. doesn't work
Hey..

I tried the way u told me .. I'm on AIX actually..

In the first file there are multiple entries of the field name.. like

f_name|Ronnie|Johnson|23.00|
f_name|xxxx|yyyy|000|...
5,309
Posted By rosh0623
Inserting a new column in a file
Hey..

I'm writing a code to download some stuff from Informix database and put it on Xls. It works fine, but I have a problem fitting in a new requirement.

I have currently a file which has...
9,590
Posted By rosh0623
Hi
Hey What if you donot want to redirect the file and instead just read the existing file and replace what ever you wanna do and then save it ?....
any ideasss ??
4,473
Posted By rosh0623
I Got it !!... I used mailx and it worked.. i was...
I Got it !!... I used mailx and it worked.. i was aiming somthing stupid...
4,473
Posted By rosh0623
mailing with attachments in mail command in HP-UX Release 11i
Hi

Can some one tell me how to send a mail with body and file attached in a shell sript, in HP-UX Release 11i.

i did code in AIX and it works fine but i guess here in HP-UX release.. there's...
13,373
Posted By rosh0623
This was good stuff.. but what do i do to find...
This was good stuff.. but what do i do to find files that are older than today and move them to another folder. today's files should be there in the directory but older ones to be moved out !!..
61,309
Posted By rosh0623
still erroring
Nopes still erroring out !!!!...
find: 0652-018 An expression term lacks a required parameter.
61,309
Posted By rosh0623
Erroring out ~~
I'm using this following command but its erroring out !!
find /home/xxx/yyy/ . -mtime -7 -type f -exec mv {} /home/xxx/yyy/zzz/

" find: 0652-018 An expression term lacks a required parameter. "...
7,499
Posted By rosh0623
yeah thats one way of doing it !!... but the file...
yeah thats one way of doing it !!... but the file name is to be taken from the directory and not hardcoded.
I need to pick file names with extention of today's date... for example ".051201" so how...
7,499
Posted By rosh0623
Change the password in 30 days in sftp script.
Hi,

I'm writing a script which actually sftp's(gets!! i'm using mget) files from a windows box to unix server. (i've gone thru forum and got pretty good answers, Thx for that).

but the windows...
57,094
Posted By rosh0623
sending email from KSH unix script.
Hi

Need guidance on including code to mail a couple of files atached with some subject and mail body !!..

Thanks in advance
2,775
Posted By rosh0623
that was typo !!... :-o) typed abd.txt instead of...
that was typo !!... :-o) typed abd.txt instead of abc.txt.....

cat abc.txt | while read line
do
echo $line
done
2,775
Posted By rosh0623
yes that would surely work... put it in while...
yes that would surely work... put it in while loop... to be presice.. if the file name is abc.txt.. it will look like..
cat abd.txt | while read line
do
echo $line
done

and in the loop you...
8,063
Posted By rosh0623
Hey That worked... I used your info as base and...
Hey That worked... I used your info as base and did it and it was proper !!.. the only problem was the last field has a combination of strings... so i just had to work on it a bit... but thanx a ton...
Showing results 1 to 25 of 29

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