9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
We are getting an external file in abc.csv format. When opened in excel spread sheet, it is opening alright. But when opened in notepad, I see the contents in a single line.
Ftp'd the file in binary mode to AIX UNIX host. When opened, I see Control M (^M) characters in place of New Line... (16 Replies)
Discussion started by: njny
16 Replies
2. Shell Programming and Scripting
Hi,
I am beginner to Shell Scripting.
I have a String like this "testabcdef", i need the first character as it is and the remaining character should be replaced by the the '*' character. e.g(t***********)
PLZ Suggest me. (5 Replies)
Discussion started by: nanthagopal
5 Replies
3. Shell Programming and Scripting
I have a string eg.
word=promise
and I have the masked version of the word which is -------(7dash for each character)
if the user input a character O, I want the masked version of the word to be --o----
if the user inputs another character p, then the masked word becomes p-o----
How can i... (1 Reply)
Discussion started by: rajugurung
1 Replies
4. Shell Programming and Scripting
Hello everyone this is my first post of many to come :)
I am writing a script and in this script at one point i need to replace a character in a particular position in a string for example:
in the string "mystery" i would need to replace the 3rd position to an "r" so the string becomes... (3 Replies)
Discussion started by: snipaa
3 Replies
5. Shell Programming and Scripting
I have a string
-----
i want to replace the 3rd '-' with a character
How can i do that
Basically im trying to do hangman
I have added the '-----' string to a file called hash
and i have the character in a variable called $input
also i have the character location(index) in this variable... (12 Replies)
Discussion started by: omaral
12 Replies
6. Programming
Hi,
Could someone help me how to replace last character string.
For example
$>export T1=abcde
$>export T2=xyz
my question is how to get result abcdxyz?
Many Thanks (2 Replies)
Discussion started by: nicklau81
2 Replies
7. UNIX for Dummies Questions & Answers
Greetings,
Using vi, how can I change the following text:
-I/myviews/nexus_7400rel/vobs/nexus/platforms/97400/include -I/myviews/nexus_7400rel/vobs/nexus/modules/i2c/7400/include -I/myviews/nexus_7400rel/vobs/nexus/modules/surface/7400/include
Into this:... (4 Replies)
Discussion started by: omega949
4 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
My problem is the following:
I've a script that must list all files in a directory and write this information in a text file.
I've tried to get the list through ls command and then write it using msgecho
msgecho "`ls $PATH_APS_JOB_ORA`"
This works good but the created string... (7 Replies)
Discussion started by: callimaco0082
7 Replies
9. Shell Programming and Scripting
I want to change the first/or any character of a string to upper-case:
String:
test
Desired results:
Test or tEst or teSt or tesT
thanks (6 Replies)
Discussion started by: prkfriryce
6 Replies