From 71a8a67a76ccda15a95dcbb6495ee1f74daf6e99 Mon Sep 17 00:00:00 2001 From: "nj2245@student.uni-lj.si" Date: Mon, 20 Feb 2017 14:20:27 +0000 Subject: git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@397 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/mock_entrance_exam/howtos/si/index.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'kpov_judge/tasks') diff --git a/kpov_judge/tasks/mock_entrance_exam/howtos/si/index.html b/kpov_judge/tasks/mock_entrance_exam/howtos/si/index.html index 899bce3..bb60f52 100644 --- a/kpov_judge/tasks/mock_entrance_exam/howtos/si/index.html +++ b/kpov_judge/tasks/mock_entrance_exam/howtos/si/index.html @@ -59,12 +59,16 @@ Ta program sedaj z ukazom "gcc IMEPREVEDENEGAPROGRAMA IMEDATOTEKE" prevedemo v n

3.4) SKRIPTA

Sedaj bomo napisali nov program/skripto, uporabimo urejevalnik nano; "nano IMESKRIPTE", kjer je IMESKRIPTE podano v navodilih naloge. -V skripto zapišemo sledeče; -----BREZ TE VRSTICE------- -#!/bin/bash - -echo -n $SPREMENLJIVKA | /home/student/IMEPREVEDENEGAPROGRAMA "argument" 2> /home/student/IMEDATOTEKE_STDERR | grep "ma" > /home/student/IMEDATOTEKE_STDOUT -----BREZ TE VRSTICE------- +V skripto zapišemo sledeče;
+
+----BREZ TE VRSTICE-------
+
+#!/bin/bash
+
+echo -n $SPREMENLJIVKA | /home/student/IMEPREVEDENEGAPROGRAMA "argument" 2> /home/student/IMEDATOTEKE_STDERR | grep "ma" > /home/student/IMEDATOTEKE_STDOUT
+
+----BREZ TE VRSTICE-------
+
Datoteko shranimo "ctrl+x" ter potrdimo z "y" in enter. Datoteko sedaj spremenimo v program "chmod +x IMESKRIPTE" -- cgit v1.2.1