Unix Programming - Way to get a set of string from the data already existing on screen using shell script

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2006 > Way to get a set of string from the data already existing on screen using shell script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Way to get a set of string from the data already existing on screen using shell script
Savte

2006-02-26, 10:16 am

Hi everyone,

Does there exist any way under shell programming to capture a line (say
line 13 ) and save it
to a string and manipulate? As an example of the functionality that i
am looking for:
Suppose you a terminal with display like this:

Hello everyone

Unix Shell Scripting

When i run my script, i would like to get line 3(displayed ) and save
it to string for further manipulation.


savte

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com