Search Results

Search: Posts Made By: Ravi S M
2,051
Posted By Ravi S M
:b::b::b:
:b::b::b:
2,051
Posted By Ravi S M
No Chubler, It is a comma separated file and...
No Chubler, It is a comma separated file and delimiter is comma but only and only last value is getting shifted.. Please find the attachments.
2,051
Posted By Ravi S M
Thanks a ton Chubler_XL :) :b::b::b: You made my...
Thanks a ton Chubler_XL :) :b::b::b: You made my day!!

---------- Post updated 02-07-14 at 12:43 AM ---------- Previous update was 02-06-14 at 01:42 AM ----------

Hi Chubler,

Below is the...
2,051
Posted By Ravi S M
first bunch of four line here is input as it is...
first bunch of four line here is input as it is till 7th column and for 8th and 9th column we append -1 and 0 ..Which means when you read the source file first we will have to print columns till...
2,051
Posted By Ravi S M
Need help in converting the file format
Hi All,

I need help in converting the mentioned file format into desired output format using awk. Could anyone help me in this?
Below is the input..
Date Account Campaign ...
1,214
Posted By Ravi S M
Thanks a ton Akshay and Rudi, Both the codes are...
Thanks a ton Akshay and Rudi, Both the codes are working good!! :) :b::b::b:
1,214
Posted By Ravi S M
Hi, Thanks for the script its working fine...
Hi,

Thanks for the script its working fine but a small tweak is required as you can see that there is a comma delimiter and I have highlighted each with 3 different colours.. Could you please...
1,214
Posted By Ravi S M
Format conversion
Can you help me get the desired output?
Below is the input

CONA= 0. 5. 10. 15. 20. 25. 30. 35. 40. 45. 50. 55. 60. 65. 70. 75. 80. 85. 90. 95. 100. 105. 110. PLANA= 0. 15. 30. 45. 60. 75. 90....
1,640
Posted By Ravi S M
No I am not using mawk
No I am not using mawk
1,640
Posted By Ravi S M
Thanks carlo, This time I am not getting error...
Thanks carlo, This time I am not getting error but there is no/blank output.. What could be the reason ??
#!/bin/ksh
awk -F"=" '{ if(!/^\w/) { a[prev]=a[prev]" "$0 }
else {...
1,640
Posted By Ravi S M
I am still getting the same error. Is it probably...
I am still getting the same error. Is it probably because quoting standards? Does it vary with the shell? I am AIX machine...:(
1,640
Posted By Ravi S M
Hi Pravin, I am getting the following...
Hi Pravin,

I am getting the following error.

syntax error The source line is 1.
The error context is
{if(!/^\w/) { a[prev]=a[prev]" "$0} else { a[$1]=$2;b[++count]=$1;prev=$1}} END {for...
1,640
Posted By Ravi S M
Need help Badly to convert file format!
Can anyone provide me a unix script to convert file formats. Input and desired output is attached.
Showing results 1 to 13 of 13

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