9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ,
In a directory list of ddl files are stored in the given format above. Above is the sample ddl file. The ddl file name is same as that of table name ie email_notifications.ddl
I want to generate below report using awk utility reading all the ddl files stored in /ddl path
Desired output:... (1 Reply)
Discussion started by: vedanta
1 Replies
2. Shell Programming and Scripting
Hello to all,
I have and input file like this:
Objects (id: bounding-box centroid area mean-color):
0: 800x800+0+0 406.6,390.9 378792 srgb(0,0,0)
11: 240x151+140+624 259.5,699.0 36240 srgb(255,255,255)
6: 240x151+462+176 581.5,251.0 36240 srgb(255,255,255)
7: 240x151+87+257... (2 Replies)
Discussion started by: Ophiuchus
2 Replies
3. Shell Programming and Scripting
Hello All,
I have need as below:
1--> I need to get all users(who submit jobs) and their details by using below command:
qstat -u \*
output of the above command looks line below:
job-ID prior name user-id state "submit/start at" queue jclass slots ja-task-ID... (5 Replies)
Discussion started by: VasuKukkapalli
5 Replies
4. UNIX for Dummies Questions & Answers
Hi
I need to generate these output file from the below input file.
Output :
customer_id as customer,
zip as zip_cd,
catg_cd as catg,
Input:
out.customer::in.customer_id;
out.zip_cd::in.zip;
out.catg::in.catg_cd;
Could you please help me on this.
Please use code tags next... (1 Reply)
Discussion started by: Murugesh
1 Replies
5. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
6. Shell Programming and Scripting
Please help.....
if i have a file list below :
1233743158.log
1233743410.log
1233744186.log
1233744462.log
"1233743158" is a unix time format
it's require to a script "convertime.sh" to convert unix time format to readable time format like 20090204183010 -- YYYYMMDDHHMMSS
... (10 Replies)
Discussion started by: bleach8578
10 Replies
7. UNIX for Dummies Questions & Answers
Hi guys
I have a text report that consists of text in some parts and data in some parts.
e.g
Report for changes in cashflows
No changes were found
Report for changes in Bills
deal_num deal_date trader maturity log_creator
DF_234 20-5-2008 tman 20-5-2009 tman... (2 Replies)
Discussion started by: magikminox
2 Replies
8. Shell Programming and Scripting
Hi.
I have a script wich reads 1 file and generates 4. If the original file has 10 lines the the sum of the 4 generated files must have the 10 original lines. So far this works.
Now what I need is to numerate the lines wtithin each generated file.
I tried with NR but it prints the line... (2 Replies)
Discussion started by: mrodrig
2 Replies
9. Shell Programming and Scripting
Hello,
I request your kind help in solving this problem...
I have a file with two columns and "n" number of rows. For the first column, it won't be change. For the second column, I want to take the average of the first three rows. Then assign the averaged value to the first three rows. This... (8 Replies)
Discussion started by: solracq
8 Replies