Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Running Scripts
Date: Sat, 28 Jul 2007 15:06:46
Message-Id: 200707281601.07079.uwix@iway.na
In Reply to: Re: [gentoo-user] Running Scripts by Kent Fredric
1 On 28 July 2007, Kent Fredric wrote:
2
3 > try a plain old bash script and see if that works, and try this and
4 > see if it works:
5 >
6 > cat >> testrun.c
7 > #include <stdio.h>
8 > int main(int argc, int* argv)
9 > {
10 > printf("helloworld");
11 > }
12 > ( press ctrl+d here )
13 >
14 > make testrun
15
16 Without writing a Makefile, make won't build the program. ;-)
17
18 You better try this:
19
20 gcc -o testrun testrun.c
21
22 Uwe
23
24 >
25 > ./testrun
26 >
27 > if that fails to do ./testrun, then i figgure the FS your on isn't
28 > execable. sorry. ^^
29 >
30 >
31 >
32 >
33 > --
34 > Kent
35 > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
36 > print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
37
38
39
40 --
41 Jethro Tull: Maybe, I am not done yet!
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Running Scripts Kent Fredric <kentfredric@×××××.com>
Re: [gentoo-user] Running Scripts Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
Re: [gentoo-user] Running Scripts Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>