The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Enterprise Unix Roundup: The Ghost of Unix Future - Server Watch iBot UNIX and Linux RSS News 0 12-19-2007 12:20 PM
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 05:24 AM
FTP script for sending a file from one unix directory to another unix server director raja_1234 Shell Programming and Scripting 1 11-30-2006 07:57 AM
Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!! haggo Filesystems, Disks and Memory 2 08-23-2006 11:39 AM
Unix History Question: Why are filenames/dirnames case sentsitive in Unix? deckard UNIX for Dummies Questions & Answers 3 03-26-2005 01:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-10-2004
Barb Barb is offline
Registered User
  
 

Join Date: Sep 2004
Location: Florida
Posts: 24
Unhappy Faxing from Unix

I am trying to send a fax from the unix box through our mail server. I am able to send pages, files, etc. but for the fax the mail server requires a space that I can't get unix to accept. The syntax is:

mail "[fax: bh@9999494178]"

Unix will take the command without the space, but the mail server has to have the space. Does anyone know how I can get unix to accept the space?
  #2 (permalink)  
Old 12-10-2004
Barb Barb is offline
Registered User
  
 

Join Date: Sep 2004
Location: Florida
Posts: 24
Does anyone know how to get unix to ignore a space. I know how to ignore a special character, how to ignore a line, but this I'm lost on. I've searched the web, talked to everyone I know personally who has anything to do with Unix and so far nothing.
  #3 (permalink)  
Old 12-10-2004
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
Most shells take anything inside single quotes without changing or substituting the value.

i.e.,
Code:
mail '[fax: bh@9999494178]'
If this is not what mail sees, then mail is changing the value.
Not unix shell.

If thinks that [fax: is argv[1] and bh@9999494178] argv[2] then
you need to read up on what version of mail you have installed - or try mailx or sendmail.
  #4 (permalink)  
Old 12-10-2004
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,656
# mail '[fax: bh@9999494178]'
[fax:bh@9999494178] contains invalid character '['


#mail "[fax: bh@9999494178]"
[fax:bh@9999494178] contains invalid character '['


Seems you may have problems other than with a SPACE with this idea........ since I'm not sure how you are aliasing the fax service (the TO ADDR), I can't help further, sorry.

From man.....



mail [-BFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] to-addr ...

  #5 (permalink)  
Old 12-10-2004
Barb Barb is offline
Registered User
  
 

Join Date: Sep 2004
Location: Florida
Posts: 24
My system doesn't have a problem with the brackets. Just with the space. Thanks for your help - guess I'll keep working on this one in my spare time and do a work around for now. I've looked through very manual I can find and bothered everyone I know who knows anything about Unix. If I figure it out I'll post the solution. Thanks again.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0