Search Results

Search: Posts Made By: acheong87
1,511
Posted By acheong87
That's doable: I can't modify the script (it's...
That's doable: I can't modify the script (it's part of our infrastructure) but I can easily write and call a new script that generates a Makefile. But then, how do I include this new Makefile in the...
1,511
Posted By acheong87
Makefiles and "Dynamic" Rules
I have a configuration file, foo.cfg, and a script, bar.sh. bar.sh generates .cc and .h files based on foo.cfg.

To exemplify, let's say it creates apple.cc, apple.h, banana.cc, banana.h,...
5,909
Posted By acheong87
Doh! Of course. That worked. Thank you!
Doh! Of course. That worked. Thank you!
5,909
Posted By acheong87
I tried something like this, using foreach, but...
I tried something like this, using foreach, but it does not work for multi-line code, e.g. "if" statements.
5,909
Posted By acheong87
How can I execute the results of a pipe?
Hello,

I'm using csh. I have a file named "setup" that I normally source, e.g.

source setupI'd like a one-liner that sources this file, but excluding lines that contain "DEBUG", e.g.

cat...
Forum: Programming 07-13-2010
6,688
Posted By acheong87
Resolved, thank you!
I emailed the system administrators to create the following symlinks, as suggested in the Sun Workshop[tm] 6 update 2 C++ Compiler Readme:


ln -s /usr/lib/libCstd.so.1...
Forum: Programming 07-08-2010
6,688
Posted By acheong87
Sun Solaris C++ Compiling Error
Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same...
Forum: Programming 06-24-2009
7,060
Posted By acheong87
C++ ld: fatal: Symbol referencing errors.
Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following...
Forum: Solaris 06-01-2009
3,281
Posted By acheong87
Unavailable/Slow Network Paths in $PATH
At work, I'm in a Solaris environment working with csh, and $PATH is populated with anywhere between 10 and 20 entries.

Last week, every command I issued (even "ls") took several seconds, if not...
3,481
Posted By acheong87
Shell Path Autocomplete w/ Variables
Suppose there exists a file, "/home/andrew/product/test". And suppose I set $FOO to "/home/andrew/product/"? I can't seem to type "$FOO/t" and then Escape (csh) in order to autocomplete.

Is...
2,522
Posted By acheong87
csh quoting enigma
(no, i can't switch shells, although i'd love to. yes, i have read http://www.grymoire.com/Unix/CshTop10.txt.)

i finally managed to get an alias working the way i want it to, but i don't...
7,280
Posted By acheong87
csh is already my default shell. If I'm running...
csh is already my default shell. If I'm running csh scripts, are all of those files (/etc/csh.cshrc, /etc/csh.login, $HOME/.cshrc, $HOME/.login, $HOME/.tcshrc, $HOME/.history) still processed? If...
7,280
Posted By acheong87
Why does my /bin/csh take longer than /bin/perl?
Okay, so I have two "Hello, world!" scripts, "test.pl" and "test.sh".
#!/bin/perl -w
use strict;
print "Hello, world!\n";
#!/bin/csh
echo Hello,\ world!
When I run test.pl, it runs instantly,...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 09:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy