Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

why does not set in csh?

Status
Not open for further replies.

u24c02

Advanced Member level 1
Joined
May 8, 2012
Messages
404
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,101
Hi.

When I trying to run in csh like this it does not working well.


$!/bin/csh -f
...

set source_directory = "../SRC"
set library_list = 'ls $source_directory' // What is wrong?
...
 

oratie

Full Member level 6
Joined
Jan 10, 2007
Messages
341
Helped
175
Reputation
348
Reaction score
165
Trophy points
1,323
Activity points
3,562
you should use
set library_list = `ls $source_directory`

see difference? I've used the character ` instead of '
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top