Search Results

Search: Posts Made By: raoscb
5,136
Posted By raoscb
Hi mahendrt, thanks for your...
Hi mahendrt,
thanks for your help.it's workign fine for my requirement.



Thanks
Narasimharao.
5,136
Posted By raoscb
append a record at the end of a file
Hi all,
i have to append a record at the end of the file(a file which is already with some records).how do i do?please help me?

is there any way of doing this with "SED" command.i am not...
37,464
Posted By raoscb
Check if a file exists with certain prefix Reply to Thread
Hi Franklin52,
"prefix=echo ${file:0:3}" when i am placing this code in my korn shell environment it is throwing a warning by saying "The specified substitution is not valid for...
37,464
Posted By raoscb
Check if a file exists with certain prefix Reply to Thread
hi redoubtable,

Thanks for your information.now the code is working fine but with if [ -a abc* ] not with [-f abc* ] .i dont know wy -f option is not working.

Thanks...
37,464
Posted By raoscb
Hi redoubtable, the below...
Hi redoubtable,
the below code is working for only exact file names(i mean the -f option).could you please tell me the way for finding files with certain prefix.I know the find...
37,464
Posted By raoscb
Check if a file exists with certain prefix
Hi guys,
How would i check a file exists with certainprefix? i have a directory with some files:
ABC1
ABC2
ABC3
etc..

and want to do:
please note i am using the korn shell...
1,821
Posted By raoscb
regarding datevalidation
Hi Perderabo,
i came across one of your script datecalc.ksh while i am searching for a script which validate the date.In tht i have a doubt at a particular part of code

could you...
19,918
Posted By raoscb
Hi Vi-Curious, Thanks...
Hi Vi-Curious,
Thanks year.Its working fine for my requirement.


Thanks
NARASIMHARAO.
19,918
Posted By raoscb
Regarding wc COMMAND
Hi gurus,
I have a doubt when using WC commnad along with file name, it is displaying information on the same line like number of lines in that file ,number of words ,number of...
2,993
Posted By raoscb
string replace ment
Hi vino,
First of all Thanks for you.Its working fine for my requirement.Still i need a little bit clarification on the below code.What is the 1 before the "$count" variable signifies?...
2,993
Posted By raoscb
string replacement in a sequence of characters
Hi All,
I have a string "TBM630300000000020080506094041000003818".I want to replace the last nine digits with another string stored in a variabe called "count".The variabe is also having...
31,876
Posted By raoscb
Error ^M not found while using read command
hi agn,
i am using kornshell currently.i am stuck of here.please help me on this.

thanks
narasimharao.
31,876
Posted By raoscb
Error ^M not found while using read command
Hi guys,
i have a script called readnametest.i had written like this

# !/bin/ksh
echo "enter your name please"
read x;
echo " your name is $x"

i am getting an error like...
3,325
Posted By raoscb
need help on how to read command in unix
thanks ray.
i have seen the below code.but i am not getting wht the "line" signifies in the read command?i am very new to unix scripting.could you please write elabrately somethign in the...
3,325
Posted By raoscb
need help on how to read command in unix
can any one please help me how to use "read" command for openig a file.i want to process the file record by record and then needs to search for a particular string at a particular position.can any...
10,651
Posted By raoscb
how to read record by record from a file in unix
Hi guys,
i have a big file with the following format.This includes header(H),detail(D) and trailer(T) information in the file.My problem is i have to search for the character "6h" at 14 th...
Showing results 1 to 16 of 16

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