The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 02-08-2008
nabmufti nabmufti is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 15
Question help needed to extract string components from a file by BASH script

actually i want you to have a complete understanding of my problem cozi am beginer & i am still stucked


i have no problem with using space i.e


Code:
:
#!/bin/bash
alarm= `cat ~/alkatel.txt

or


Code:
:
#!/bin/bash
alarm=`cat ~/alkatel.txt

:

these codes display file contents which is fine but the main problem is to extract string components from file which i couldnt
plz read the first thread i posted in very much detail to help me
i realy need this help


waiting for your reply very soon

Last edited by nabmufti; 02-08-2008 at 08:59 AM.. Reason: to make code clear