10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Heyas
I'm trying to add color 'support' to my TUI.
It works, but behaves weird.
Code in question: (status.conf)
R="\033" ; TUI_WORK=""
TUI_DONE="" ; TUI_FAIL=""
TUI_SKIP="" ; TUI_NEXT=""
TUI_BACK="" ; TUI_CANC=""
TUI_ON="" ; TUI_OFF=""
TUI_INFO="" ; TUI_HELP=""
The... (4 Replies)
Discussion started by: sea
4 Replies
2. Shell Programming and Scripting
Hello Everyone,
I have a csv file with text qualifier as "" and data similar to below:
"1","abc","address1","US"
"2","def","address1 "characters in double-quote" address2","IND"
"3","ghi","address1","UK"
In above example, for record 2, we have an issue as in column3 contains double... (2 Replies)
Discussion started by: AnkitSenghani
2 Replies
3. Shell Programming and Scripting
Hi
How can I alaign the output of a script.
Exaplme
my script has assigned values to two variables, VAR1 and VAR2
VAR1=This is RAJ working as a DB2 UDB DBA for VISA Corporation, Need your help in Shell scripting
VAR2= This is RAM working as a ORACLE DEVELOPER for TARGET... (1 Reply)
Discussion started by: thriloka
1 Replies
4. Shell Programming and Scripting
Hi Gurus,
I've the following output from my scripting as shown below.
0.48 GB 0.29 GB 0.19 GB 60%
0.48 GB 0.29 GB 0.19 GB 60%
228.90 GB 89.47 GB 139.42 GB 39%
228.76 GB 72.37 GB 156.39 GB 31%
Is it possible to format this output into a proper... (16 Replies)
Discussion started by: superHonda123
16 Replies
5. Shell Programming and Scripting
Hi,
I am having a file with with format.
however, for longer xml, the xml code has been truncated like this.
F1 |###################### |String1 |<XML><REQ><MSGTYPE>DBDIRECT</MSGTYPE><SYNC>0</SYNC><CLIENT>C11</CLIENT>NAME=MYNAME|JOB=MYJOB|
| ... (3 Replies)
Discussion started by: shellwell
3 Replies
6. Shell Programming and Scripting
Dear Friends,
I've one file "sample.log" with the below comma separated lines:
BOND_FORWARD,0 succeeded,0 failed.
EQUITY_FORWARD,0 succeeded,0 failed.
FRA,12 succeeded,0 failed.
OPTION_BAR,16 succeeded,0 failed.
OPTION_VAN,76 succeeded,0 failed.
RENTOPT_CAP_FLOOR,4775 succeeded,0 failed.... (2 Replies)
Discussion started by: ganapati
2 Replies
7. Programming
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies
8. Solaris
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal the... (1 Reply)
Discussion started by: nj302
1 Replies
9. Shell Programming and Scripting
Hi
I'm trying to display the output of my script in a friendly viewable format.
it's something like this..
i have this while loop... in which i get some records from a file where fields are delimitered with a pipe. so i'm extacting each field and replacing the pipe with a \t, tab !!..
cat... (7 Replies)
Discussion started by: rosh0623
7 Replies
10. UNIX for Dummies Questions & Answers
With older Linux servers, the command:
ls -al
would output text that would have the filenames all lined up in the same column (the owner and group names were truncated to produce a uniform right column).
In newer distros (i.e. RHEL 3), the command will push the right column out when owners... (0 Replies)
Discussion started by: robf
0 Replies