Search Results

Search: Posts Made By: pmreddy
1,150
Posted By pmreddy
How to search a word in a file?
How to search a particular word in a file.
in my file contains lacks of rows.
1,794
Posted By pmreddy
sqlplus -s <<! | username/password set pages...
sqlplus -s <<! |
username/password
set pages 0 feed off
@driver.sql
!
while read; do
shell_test1.sh "$REPLY"
shell_test2.sh "$REPLY"
shell_test3.sh "$REPLY"
done

my driver.sql...
1,794
Posted By pmreddy
Hi radoulov, your code is works fine but i...
Hi radoulov,

your code is works fine but i have a small doubt about this..

How to run plsql code, like
i want to save plsql code in a file like "driver.sql" the parameters of the code is...
1,794
Posted By pmreddy
Procedure_name('From_date', 'To_date') Result...
Procedure_name('From_date', 'To_date')
Result is:
20130101
20130102
20130103
20130104
.
.
.
..
20130131

I need to run another shell script using the above result one by one value
...
1,794
Posted By pmreddy
Processing values from Oracle procedure
Hi all,

My oracle procedure returns more than one value.

i need to get one value at a time upto ending value ina shell script.

Please help me.....
2,045
Posted By pmreddy
-d is not working in my script we are using...
-d is not working in my script
we are using sunsolaries

the format of date is yyyy-mm-dd

we need to add one day to the given date
2,698
Posted By pmreddy
-d is not working in ksh. enddate=`date -d...
-d is not working in ksh.
enddate=`date -d "$enddate + $i day" "+%Y_%m_%d"`

If i remove -d from the above line igot the error called bad conversion
2,698
Posted By pmreddy
I changed #!/bin/bash to #!/bin/ksh -xv and ...
I changed #!/bin/bash to #!/bin/ksh -xv and
I got the error called startdate="${1//_/-}" :Bad substitution

Please help me
2,698
Posted By pmreddy
Bash to ksh problem
Hi all

Below code works in bash but it is not working in ksh.


enddate=`date -d "$enddate + $i day" "+%Y_%m_%d"`


Please help me how it works in ksh

Thanks
2,045
Posted By pmreddy
Date increment logic
Hi all,

I need to increment date at run time.

Example:

I need to write a shell script with two parameters.
1. country code like (US,UK, IND.....)
2. Date range from_date to to_date...
2,417
Posted By pmreddy
Previously i used awk command. that is working...
Previously i used awk command. that is working fine.

---------- Post updated at 05:46 AM ---------- Previous update was at 05:36 AM ----------

Rejected is inbetween the line.

Record 1632:...
2,417
Posted By pmreddy
When i am using below commad awk '{if...
When i am using below commad
awk '{if ($0~"Rejected") a=1}0 {print}a' fromfile > tofile

I got the error like this

awk: syntax error near line 1
awk: illegal statement near line 1
awk:...
2,417
Posted By pmreddy
yes. Correct. where to include file name...
yes. Correct.

where to include file name like from file, to file
2,417
Posted By pmreddy
Need to include rejected phrase also in the new...
Need to include rejected phrase also in the new file.
2,417
Posted By pmreddy
Yes, but the rejected lines may vary from file to...
Yes, but the rejected lines may vary from file to file.
2,417
Posted By pmreddy
How to get some data in the file?
Hi all,

I have a log file with the below data.
I want to get only the red colored data from log file.

Record ----: Rejected may varies from one file to another file.

Please help me how to...
2,117
Posted By pmreddy
1. the other format is DD-MON-YYYY 2. yes, i am...
1. the other format is DD-MON-YYYY
2. yes, i am using korn shell script
2,117
Posted By pmreddy
date format
i want to format the date is like as 'YYYYMMDD'

the date is coming from another variable

how to format the date
1,358
Posted By pmreddy
how to pass dynamic parameters
how to pass dynamic parameters
1,358
Posted By pmreddy
One shell script in other
hi,

How to use one shell script file in other shell scrpt file

for example

main shell script(have different lines of code)
...........
........
...........
sub shell script(with three...
1,838
Posted By pmreddy
search and delete the lines in a file
HI group members


I am new in unix

I want to search # symbol in a file.
if found need to delete the entire row in the file.
need to move the actual data(with out # symbol data) to another...
Showing results 1 to 21 of 21

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