10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i am doing a simple script to insert logs into particular table through shell script
when i run the script, it is inserting null value.
Any explanation on this. Here is my script.
#!/bin/sh
export db_connection_url=apps/apps@VIS
... (2 Replies)
Discussion started by: Rami Reddy
2 Replies
2. Shell Programming and Scripting
hi
i have some data like this
input:
1 apples oranges 234
2 oranges apples 2345
3 grapes bananas 1000000
4 melons banans 10000000
5 bananas apples 5000000
6 mangoes banans 2000000
7 apples bananas 1999999
i want to put all those which are coming between 1 and 999999 in to one bin... (8 Replies)
Discussion started by: anurupa777
8 Replies
3. Shell Programming and Scripting
Input file:
A_69510335_ASD>aw 1199470 USA
A_119571157_C>awe,QWEQE 113932840 USA
C_34646666_qwe>TAWTT,G,TT 112736796 UK
C_69510335_QW>T 1199470 USA
D_70520237_WR>QEE,G 34459863 UK
D_71380003_QWR>T 145418226 IK
.
Desired output:
A_69510335_ASD>aw 1199470 USA... (1 Reply)
Discussion started by: perl_beginner
1 Replies
4. Shell Programming and Scripting
Input file:
dependent general_process
dependent general_process
regulation general_process
- -
template component
food component
binding data_rearrangement
binding data_rearrangement
specific_activity data_rearrangement
- ... (7 Replies)
Discussion started by: cpp_beginner
7 Replies
5. Shell Programming and Scripting
Hi All,
I'm having a problem tabbing the data. can you please help me tab the data. i used sed but it's not working.
ex.
BUNDLE1MB(6spaces)|Y|ng_oliv10@shellscript.com.ph(6spaces)562.60.61.20(6spaces)562.61.35
here's my code
sed "s/ //g" Userid_dsl_npm.txt__200 | sed "s/ |/ /g" |... (2 Replies)
Discussion started by: nikki1200
2 Replies
6. Shell Programming and Scripting
Input file
<data id>="1">\
</data>\
<data id>="2">\
</data>\
<code>="1" target="2">\
</code>\
<data id>="1">\
</data>\
<data id>="2">\
</data>\
<code>="1" target="2">\
</code>\
<data id>="1">\
</data>\
<data id>="2">\
</data>\
<code>="1" target="2">\
</code>\ (2 Replies)
Discussion started by: cpp_beginner
2 Replies
7. UNIX and Linux Applications
In LVM I have one volume grp and it has two logical volumes A and B and both are full,so I extended my volume grp to 1GB with another hard disk and add this space to A and put my resr data .Now problem is that I get data from first hard disk only but I m unable to find data which is in second hard... (0 Replies)
Discussion started by: Rahul chauhan
0 Replies
8. Shell Programming and Scripting
I have a 1 million record file and in there i have 580 bad records meaning like they were spread on to 2 lines and is making my process fail as it is expecting single line records. How can i correct this records spread into 2 lines into single line or how i can writer these records into a new... (34 Replies)
Discussion started by: dsravan
34 Replies
9. Shell Programming and Scripting
i am studying a script which is used for data loading.
it has functions which deletes all the existing data before loading and then loads new fresh data.
but i am stuck up at function Replace into table ( col 1,col 2....)
Does this signify All Inserts. (1 Reply)
Discussion started by: ankitgupta
1 Replies
10. Shell Programming and Scripting
Hi all,
I'm trying in vain to workout how I can generate a report from a months worth of files that get created every day. There is one file per day and each daily file contain the output from a df -v command.
With the following section of code ...
for xdffile in $1$2/df??
do
... (4 Replies)
Discussion started by: Cameron
4 Replies