10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to create a fixed width file based on the column lengths.
lets assume I have six(this may be dynamic) fields each are of different length
column1=6 #size of the column
column2=3
column3=2
column4=3
column5=4
column6=5
I tried below code snippet but it is not working
echo... (4 Replies)
Discussion started by: gvkumar25
4 Replies
2. UNIX for Beginners Questions & Answers
Hi all,
I am having the file below
I need that as below
Thanks,
Arun (12 Replies)
Discussion started by: arunkumar_mca
12 Replies
3. Shell Programming and Scripting
Hi Experts,
I have a text exactly like below in a file:
id item_id
item_date prin_mkt_val
--------------------------- ---------------------------
------------------------------- ------------------------
... (1 Reply)
Discussion started by: apatil65
1 Replies
4. Shell Programming and Scripting
Hi,
I am trying to format the output of my script in a tabular format
using the html code in my shell script.
I am using html code for the first time in a shell script.I am trying to execute this script in Ksh but it is not getting executed.
Can you please help me in figuring this out.... (6 Replies)
Discussion started by: isaacsam
6 Replies
5. Shell Programming and Scripting
Dear all
I had input file as mention below and want op as mention.
Kindly let me knw possible ways.
Regards
Jaydeep
INPUT:
RXOTX-48-1
2A 34
2B 35
RXOTX-499-2
2C 32
RXOTX-4-1
2D 23
OUTPUT: (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
6. Shell Programming and Scripting
Guys
I have a date value like this in a table -> 2006-12-29 12:57:08(data type varchar2(25))
I am trying to subtract this column from sysdate.
I am unable to do that. can u guys suggest me a way to do this.. (2 Replies)
Discussion started by: ragha81
2 Replies
7. Forum Support Area for Unregistered Users & Account Problems
We use AIX mailx or sendmail. How can I format a text file so that lotus notes users can see diferent fonts and highlighting. Or can a gif file (company logo..) be sent along with a text file and the Lotus notes user would see the logo and text displayed at the same time and not as an attachment? (0 Replies)
Discussion started by: lidoiwo
0 Replies
8. UNIX for Dummies Questions & Answers
Using a for loop I am able to get the following log file below. I would like o change the format a bit as is indicated lower down. I have looked at awk and sed but somehow is not getting any joy. I am a bit new to ksh scripting. Please assist.
This is the format of my current log file after the... (1 Reply)
Discussion started by: hugow
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
How do I format the following?
I have a for loop that retrieves me the path and file name of a file. In column fashion I would like to add the time and another variable containing the file's size. This will result in all the time being under each other and all the file size's being under... (6 Replies)
Discussion started by: hugow
6 Replies
10. UNIX for Dummies Questions & Answers
Hi,
In my code:
echo " Field1 " " Filed2 " " Filed3 " >> $myfile
echo "--------" "------- " "--------">> $myfile
echo $value1 $value2 $value3 >> $myfile
echo $value1 $value2 $value3 >> $myfile
echo $value1 $value2 $value3 >> $myfile
My file... (4 Replies)
Discussion started by: redlotus72
4 Replies