Aix Shell Programming


 
Thread Tools Search this Thread
Operating Systems AIX Aix Shell Programming
# 1  
Old 12-07-2006
CPU & Memory Aix Shell Programming

HI
I am trying to write a shell script which accepts two strings from user and finds the matching number of characters in those two
ex:
string 1 abcd
string 2 bcgt

result is bc (matching characters)
pls provide me with a basic script for doing that
# 2  
Old 12-07-2006
Your posts are all spin-offs from the same thread - https://www.unix.com/unix-for-dummies-questions-and-answers/33481-matching-characters-between-strings.html

Please do not duplicate or cross-post.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX runtime programming issue

I hope my title is accurate enough. I have a product that we port to various UNIX platforms. It is known to run on AIX but using the IBM compiler from years ago. Recently we got a different used AIX P5 platform running AIX 5.3 and we setup the GCC compiler (4.4.5 I think). C and C++ source code.... (5 Replies)
Discussion started by: Pug
5 Replies

2. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

3. Programming

Shell programming ksh AIX - beginner

Hi! I have two shell scripts - Script1, Script2 Script1, Script2 - have return parameter Script1 - is calling Script2 in Script2 I am calling program sqlldr - if this program is called then I did not get the return parameter from Script1 Do You have any idea how can I avoid this problem. Mroki (6 Replies)
Discussion started by: mroki
6 Replies

4. AIX

How to detect the network cable status with c programming on AIX

Hello, Is there any API or any other approach to detect whether the network cable is connected to the network adapter, say, en0, en1 or en2? The OS is AIX6.1. Thank you. (4 Replies)
Discussion started by: zephyrbj
4 Replies

5. Programming

programming in C, C++ on AIX 6.1 requirments

I want to start programming in C, C++ on AIX 6.1 and I want to know what I need to install on the server to do so. Do I only need to install "gcc" GNU Compiler Collection & "gcc-c++" C++ support for GCC. or do I also need "libgcc" GCC compiler dynamic runtime library? am I missing any files to... (1 Reply)
Discussion started by: daveisme
1 Replies

6. Programming

C/C++ System Programming API for AIX

Hi, I'm trying to locate the API information that is used for system programming on IBM's AIX operating system and other programming resources for AIX (language C/C++), I've had a look around the IBM website/Internet but I don't seem to be able to find anything that is up to date. This... (1 Reply)
Discussion started by: warlockuk
1 Replies

7. Shell Programming and Scripting

shell programming

I want notes for learning Shell programming (2 Replies)
Discussion started by: Neha Agarwal
2 Replies

8. AIX

Programming Tools for Aix

I am searching for a good debugger and memory leak detection tools like for AIX. Right now we use Xldb for debugging, which is not bad, but detecting memory leaks is a pain... Unfortunately Purify is not aviable for the AIX plattform. DDD is not bad as an alternative debugger but he is... (0 Replies)
Discussion started by: Lazzar
0 Replies

9. Shell Programming and Scripting

Shell Programming?

For what purposes should we use shell /what are the tasks we can achieve using shell which is best book to learn shell programming and will nayone tell me diff between shell programming aand shell scripting? Thank u in advance. (1 Reply)
Discussion started by: shrikrishna
1 Replies

10. UNIX for Dummies Questions & Answers

Shell Programming

I have a fix_table.ksh script that takes a TABLENAME and a date. So, in jk_table_file.txt I have the tables...one per line, and in jk_out_file.txt I have the date in the format I need. The following doesn not 'want' to work in a shell script... for TABLE in `cat jk_table_file.txt`; do ... (2 Replies)
Discussion started by: JWK1
2 Replies
Login or Register to Ask a Question