It is currently Thu, 20 Jan 2022 09:41:26 GMT



 
Author Message
 shell script
Hai can anyone help

i have a shell script accept the list of personal information so...
how to cut and paste the data for example i want the name and the id
to be display what is the script to cut the particular detail and
display it on the monitor.



 Mon, 11 Sep 2006 16:19:24 GMT   
 shell script

On 25 Mar 2004 00:19:24 -0800, titi <www...@yahoo.com> wrote:

There are lots of ways to do that. We need to know what shell you are using and
to see an example of the text you want to extract and display. Several examples
would probably be a good idea.

AC



 Mon, 11 Sep 2006 17:20:43 GMT   
 shell script

If the name and id are in fields 7 and 10, then use "cut -f7,10". If you
want any more, you'll need to post your code, sample input, and desired
output.

        Ed.



 Mon, 11 Sep 2006 21:46:48 GMT   
 
   [ 3 post ] 

Similar Threads

1. Convert Bash shell script to Korn shell script

2. shell script within shell script (general question)

3. Shell Script Help (C-Shell Script)

4. Shell script invoking other shell scripts

5. export variables to calling shell in a shell-script

6. how do i create a shell script that will rewrap itself to the correct shell wrap

7. c-shell script won't run from korn-shell / SETUID

8. using born shell script as login shell?

9. Aliases in shell K-shell scripts.


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software