10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi. I have a requirement where I need to REPLACE all alphabets from an alphanumeric input string into their respective ASCII decimal value. For example:
If the input string is ABAC123, the output should be 65666567123
I am seeking a single line command, and I was trying searching for options... (21 Replies)
Discussion started by: kumarjt
21 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Requesting some help with a problem I am facing with string function in UNIX. I wish to create 2 string variables: 1st header string containing output_1, output_2, .. , output_<n> and 2nd data string containing the filename separated by colon (":") and corresponding filesize separated by... (6 Replies)
Discussion started by: vkumbhakarna
6 Replies
3. Shell Programming and Scripting
Hi All,
I need help for doing the following.
I have a input file like:
aaaaaaaaaabbbbbbbbbbbbbbbbbbbb
cccbbbbbaaaaaadddddaaaabbbbbbb
now I am trying to generate a output csv file where i will have for e.g.
0-3 chars of each line as the first column in the csv, 4-10 chars of the line as... (3 Replies)
Discussion started by: babom
3 Replies
4. Shell Programming and Scripting
Hello All,
Could you please help with this.
This is what I have:
506234.222 2
506234.222 2
506234.222 2
506234.222 2
508212.200 2
508212.200 2
333456.111 2
333456.111 2
333456.111 2
333456.111 2
But this is what I want:
506234.222 1
506234.222 2
506234.222 2
506234.222 3 (5 Replies)
Discussion started by: canimba
5 Replies
5. Shell Programming and Scripting
Hi,
I have the output (as below) which i want it to be in a table.
For e.g.
space utilization in PSE on path /logs is 0%
space utilization in PSE on path /logs/tuxedo/tuxlsp is 16%
space utilization in PSE on path /ldvarlsp/lsp/log is 37%
space utilization in PSE on path /home is 6%... (7 Replies)
Discussion started by: pkbond
7 Replies
6. Shell Programming and Scripting
Hi,
I have below line from the config file
$__MR_CONFIG = 'userinput';
I want to get the value from the user for the "userinput" and then append the full line to another file.
Can you please let me know how can I proceed on this? I am new to unix and your help is greatly appreciated.... (3 Replies)
Discussion started by: nav123
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
I have the following issue
i am going to ask from the user the password
The password can have $ anywhere that is first last or in between but i have to append \ before the $ sign in the password can anyone please help
For example
o/p in the console will be like the... (3 Replies)
Discussion started by: ssuresh1999
3 Replies
8. Shell Programming and Scripting
hi all,
i have variables a and b with values, like
a="/var/tmp/new.sh /var/tmp/new2.sh"
b="/TEST"
how i need to append the value "/TEST" before the values for the variable "a" so that i get the output as
/TEST/var/tmp/new.sh /TEST/var/tmp/new2.sh
plz help me
Regards,
NG (2 Replies)
Discussion started by: Nandagopal
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a file like this:
tag1:value1
tag2:value2
tag3:value3
tag1:value1
tag2:value2
tag3:value3
tag1:value1
tag2:value2
tag3:value3
and what i want is:
value1 value2 value3
value1 value2 value3 (15 Replies)
Discussion started by: nickrick
15 Replies
10. Shell Programming and Scripting
11.60 12.35 12.49
12.99 13.09 12.91
13.48 14.16 14.18
13.23 13.17 13.15
13.71 13.35 13.12
13.00 12.79 12.83
12.54 12.89 12.89
12.47 12.94 13.00
13.41 13.09 13.09
12.09 12.76 12.93
13.67 13.14 13.01
12.39 12.78 12.86
12.61 12.50 12.11
12.98 12.90 12.77
12.56... (5 Replies)
Discussion started by: gagan.delouri
5 Replies