Is there a way for a bash script to test if it can cd into a directory without actually attempting to cd into it?
I am looking for something along the lines of:
#code to execute
except in this case I don't want to test if the directory exists; what I want is to test... (8 Replies)
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
This is the code:
while test 1 -eq 1
if test $a = stop
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
I'm trying to test if a directory specified in a script parameter is available or not.
I wrote a little code to do so, but there's a problem because I receive an error message.
#Verify command parameter
echo 'Incorrect command parameter'
echo... (3 Replies)
Discussion started by: santuna
LEARN ABOUT DEBIAN
atscc(1) General Commands Manual atscc(1)NAME
atscc - ATS compiler frontend
atscc [options] files...
atscc is a frontend to the atsopt Anairiats compiler for the ATS language.
atscc has a command-line option syntax in the style of gcc and accepts all the same options, many of them being passed directly to the gcc
backend. Here are summarized the non-gcc options.
Only compile the given ATS source files into C files.
Enable the garbage collector in the generated executable.
Add a path to search for ATS files when doing static and dynamic loads.
Typecheck the given ATS source files, but go no further.
Show ATS/Anairiats version and gcc version.
atscc -o test -O3 test.dats
Compile test.dats to an executable named test. Tell gcc to use the third level of optimization.
atscc -tc test.dats
Typecheck test.dats only.
atscc -o test.o -c test.dats
Compile test.dats to an object file named test.o.
SEE ALSO atsopt(1), atslex(1),
These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/
atscc was written by Hongwei Xi.
This manual page was written by Matthew Danish <email@example.com>, for the Debian project (and may be used by others).
February 22, 2010 atscc(1)