![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Makefile help | tantric | High Level Programming | 4 | 04-13-2007 02:35 AM |
| Makefile | NamrataGurav | High Level Programming | 7 | 10-07-2006 03:29 PM |
| about the makefile | ligerdave | High Level Programming | 2 | 01-31-2006 01:21 AM |
| makefile help | pieter023 | Shell Programming and Scripting | 1 | 06-06-2005 02:20 AM |
| makefile | ECBROWN | UNIX for Dummies Questions & Answers | 4 | 02-17-2005 12:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Using cut within makefile
Using the piece of code below within a makefile, I am getting nothing in variable YR. If I try the code at the command prompt it works fine. Please let me know what I'm doing wrong, or how I can achieve what I want. Thank you. Code:
DBDATE=2005-09-30
test:
YR=`echo ${DBDATE}|cut -c1-4` ; echo ${YR}
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|