Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Need to remove text in PS file before sending to hylafax.



Hey;

Look into sed  =)

Regards,

Tren

> -----Original Message-----
> From: hylafax-users-bounce@hylafax.org 
> [mailto:hylafax-users-bounce@hylafax.org] On Behalf Of 
> jonny.axelsson@systeam.se
> Sent: Friday, August 09, 2002 1:54 AM
> To: hylafax-users@hylafax.org
> Subject: [hylafax-users] Need to remove text in PS file 
> before sending to hylafax.
> 
> 
> Hi
> 
> I hope anyone can help me with this small problem.
> I use the script sambafax to send fax to hylafax but before i 
> fax the file i want to remove the faxnumber from the file. 
> Now i use this function to do it.
> 
> cat ${FAXFILE} | grep -v "SendFaxTo" > ${FAXFILE2}
> 
> The problem with this is that it destroyes the ps structure.
> i have tried to manually remove the text in the file and 
> leave the rest of the important information on that row and 
> then it works.
> 
> Is there any good way of replace only this string with a blank?
> 
> /Jonny Axelsson
> 
> 
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List 
> _______________________
>   To subscribe/unsubscribe, click 
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s 
> unsubscribe hylafax-users-request@hylafax.org < /dev/null
>   *To learn about commercial HylaFAX(tm) support, mail 
> sales@hylafax.org.*
> 
> 


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services