Main.java0000644000076500007650000000047411052362664011667 0ustar trondtrondclass Main { public static void main(String[] argv) { System.out.println("Started with the following arguments:"); for (int i = 0; i < argv.length; ++i) { System.out.print('['); System.out.print(argv[i]); System.out.print("] "); } System.out.println(); } } Makefile0000644000076500007650000000013611052362664011573 0ustar trondtrondtestprog: main.o $(LINK.c) -o testsprog main.o main.o: main.c header.h $(COMPILE.c) main.c header.h0000644000076500007650000000004711052362664011535 0ustar trondtrond#include #include main.c0000644000076500007650000000037011052362664011223 0ustar trondtrond#include "header.h" int main(int argc, char **argv) { printf("Program %s executed with the following arguments:\n", argv[0]); for (int i = 1; i < argc; ++i) { printf("[%s] ", argv[i]); } printf("\n"); return EXIT_SUCCESS; } test.el0000644000076500007650000000135311052362664011436 0ustar trondtrond; ; CDDL HEADER START ; ; The contents of this file are subject to the terms of the ; Common Development and Distribution License (the "License"). ; You may not use this file except in compliance with the License. ; ; See LICENSE.txt included in this distribution for the specific ; language governing permissions and limitations under the License. ; ; When distributing Covered Code, include this CDDL HEADER in each ; file and include the License file at LICENSE.txt. ; If applicable, add the following below this CDDL HEADER, with the ; fields enclosed by brackets "[]" replaced with your own identifying ; information: Portions Copyright [yyyy] [name of copyright owner] ; ; CDDL HEADER END ; (defun foo-bar () ( setq variable 5 )) (foo-bar) test.sql0000644000076500007650000000137011052362664011634 0ustar trondtrond# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # See LICENSE.txt included in this distribution for the specific # language governing permissions and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at LICENSE.txt. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # SELECT * FROM foo; DELETE FROM foo WHERE id=5; DROP TABLE foo; test.tcl0000644000076500007650000000135511052362664011622 0ustar trondtrond# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # See LICENSE.txt included in this distribution for the specific # language governing permissions and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at LICENSE.txt. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # proc printHelloWorld {} { puts "Hello world" }