Search Results

Search: Posts Made By: magikminox
2,656
Posted By magikminox
you mean like if(NR == 1) {for (i=1; i <= NF;...
you mean like
if(NR == 1)
{for (i=1; i <= NF; i = i + 1)
printf("%s,",$i);
printf("\n");}
....
2,656
Posted By magikminox
AWK script to omit top characters with dashes
Hi

I have an AWK script that takes an input file and outputs it as CSV format.
The problem is its also outputting the characters at the top which are dashes(-------) and i want it to leave them...
1,308
Posted By magikminox
get tommorows' date from script and use in other script
Hi

I have a script that returns tommorows date in mm/dd/yy format.I want the date returnred by that script to be used by another script that executes some sql statements.
What i dont know is how...
5,474
Posted By magikminox
Hi Thanks for the response. My script is as...
Hi Thanks for the response.

My script is as follows

#!/bin/sh

isql -U$2 -S$5 -w 200 -o/u/ap/summary << xxx
$3
use $4
go
selec *
from table where label in ($1)
and flag=0 and...
5,474
Posted By magikminox
Get yesterdays date given todays date
Hi Guys.

I am very new to UNIX.
I need to get yesterdays and tommorows date given todays date.
Which command and syntax do i use in basic UNIX shell.

Thanks.
8,227
Posted By magikminox
upload excel file contents to server
Hi
I have an excel file with only 5 rows .I want to uplaod those 5 rows to a database using a shell script.Is this possible.If so where do i start.
Thnks
10,094
Posted By magikminox
create a shell script that calls another script and and an awk script
Hi guys

I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file.

#!/bin/sh
echo " $2...
58,062
Posted By magikminox
generate CSV file using AWK script
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 ...
Showing results 1 to 8 of 8

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