Sponsored Content
Full Discussion: Makefile + #includes
Top Forums Programming Makefile + #includes Post 302439814 by Corona688 on Friday 23rd of July 2010 10:30:02 PM
Old 07-23-2010
My crystal ball is still in for maintenance. Please paste the actual error messages.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

..to check if a line includes a subline..?

What would be the best way to check if a particular line (in variable) has an another line (more than 1 char)? I understand it could be done with 'grep', 'sad', 'awk', by parameter expansion, but all these seems to me havy, worldy, not elegant and overhead in processing For so common task... (2 Replies)
Discussion started by: alex_5161
2 Replies

2. Shell Programming and Scripting

passing string which includes metacharacters

I'm trying to create a bash script that takes a URL as one of its arguments like this: ./script.sh http://url.cfm?asdf&asdf=234 variable=$1 echo $variable I'm having trouble storing the URL because it contains the meta character "&" which is being interpreted... thus when I run the... (4 Replies)
Discussion started by: kds1398
4 Replies

3. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

4. Programming

Multi-platform includes?

I know that <cstudio> can also be <stdio> and can be written different ways on Linux then with windows. I've see some code doing a IFDEF __APPLE__ (I'm guessing, if compiled on a mac do whats between this) Is there one for Linux/Window? (3 Replies)
Discussion started by: james2432
3 Replies

5. Shell Programming and Scripting

SFTP STDERR includes the acknowledgement

I have this problem on my SFTP script. When you direct the standard error to a file, it also contains the acknlowledgement. See below: sftp.log Connecting to xxx.xxx.xxx This computer is property of x company and is intended on... Connecting to xxx.xxx.xxx This computer is property... (0 Replies)
Discussion started by: The One
0 Replies

6. Shell Programming and Scripting

how to search for string that includes folder separator ?

I want to select only second line. I want to search for any line that has both -> input.txt /userA/aaaaaaabbb/jakarta /userA/aaaaaaa/jakarta /userB/aaaaaaabbb/jakarta /userB/aaaaaaa/jakarta This command does have effect of --> $>cat input.txt | /usr/xpg4/bin/grep -E... (13 Replies)
Discussion started by: kchinnam
13 Replies

7. Programming

Makefile includes and shell environment during compile

Below is the top of my Makefile. On one machine, I have mysql_config5, and another, I have mysql_config. In my .bashrc file of one UNIX machine, I added an alias so that that mysql_config5 is mysql_config, however, when I do make, it doesn't use that environment and I get compile errors, unless I... (1 Reply)
Discussion started by: pyramation
1 Replies

8. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

9. Shell Programming and Scripting

How to pipe a filename that includes a date?

How do I pipe the output of something to a filename that includes the date, in a specific date format? Here's the goal. Output a script to a file periodically during the day: ./script.sh >>logname_yyyy-mm-dd.logAnd when the next day comes, it starts logging to a new filename because the date... (2 Replies)
Discussion started by: nbsparks
2 Replies
prev(1mh)																 prev(1mh)

Name
       prev - show the previous message

Syntax
       prev [ +folder ] [ -[no]header ] [ -help ] [ -showproc program ] [ -noshowproc ] [ options to ]

Description
       The command displays the previous message in the current folder.  The previous message is the one before the current message in the folder.
       The message that is shown becomes the current message.

       You can specify a folder other than the current folder by using the +folder argument.  If you specify a folder, that  becomes  the  current
       folder.

Options
       -header
       -noheader Displays  a  one-line	header before the message.  The header consists of the name of the folder and the message number.  This is
		 the default behavior.	It can be suppressed with the -noheader option.

       -help	 Prints a list of the valid options to this command.

       -showproc program [ options ]
       -noshowproc
		 Specifies an alternative program to list messages.  The default is to use the program defined by the showproc: entry in the file.
		 As with you can give options to the program at the command line.  These are passed directly to by

       The defaults for this command are:

	      +folder defaults to the current folder
	      -header

Restrictions
       The  command  is  really  a  link  to  the program.  As a result, if you make a link to and that link is not called your link will act like
       instead.  To avoid this, add a profile-entry for the link to your MH profile and add the argument to the entry.

Examples
       The command in the following example displays the previous message in the folder
       $ prev +copylog

Profile Components
       Path:	   To determine your Mail directory
       showproc:   Program to show the message

Files
       The user profile.

See Also
       show(1mh), next(1mh)

																	 prev(1mh)
All times are GMT -4. The time now is 04:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy