The UNIX and Linux Forums  


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



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Makefile problem - How to run module load in a Makefile hernandinho UNIX for Advanced & Expert Users 2 04-13-2009 11:20 AM
Makefile myle High Level Programming 0 07-02-2008 10:52 AM
Makefile very simple question. marcintom High Level Programming 1 05-04-2008 12:20 PM
Tough makefile question mbbeaubi High Level Programming 1 06-04-2007 06:15 PM
Makefile question hc29 UNIX for Dummies Questions & Answers 1 07-13-2004 07:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-08-2008
mjdousti's Avatar
mjdousti mjdousti is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 60
Makefile question

Hi all,

I've a makefile which has this line:

Code:
@touch $@

I know $@ is for representing the target. But I don't know what's the @ preceding the touch.

Can anyone help me?
Thanks in advance.
  #2 (permalink)  
Old 12-08-2008
nj78 nj78 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 108
From my reference it (the @) would suppress the echo of the command being executed.
  #3 (permalink)  
Old 12-08-2008
mjdousti's Avatar
mjdousti mjdousti is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 60
Thanks. It seems this is correct
May I have your reference? (Because I've found another problem: What does '-' do?)
  #4 (permalink)  
Old 12-08-2008
nj78 nj78 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 108
The UNIX Programming Environment by Kernighan/Pike

Page 255 (nice index!).

Thanks.
  #5 (permalink)  
Old 12-10-2008
mjdousti's Avatar
mjdousti mjdousti is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 60
I searched the Internet for this ebook but found nothing! It was published in 1984!
At last, I found it in my universities' library. The book was great.
Thanks.

Last edited by mjdousti; 12-10-2008 at 05:13 PM..
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 11:45 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