Assignment 1

Write a script [url removed, login to view] in the ~ / tema4 / headers / which find absolute path of each file header included in a source file included C. If the header file is a symlink to be found by file path pointed to. The paths will be printed to stdout, one path per line. The script will receive path to a source file and can receive parameters (any) form -ipath having the same meaning as for gcc -i option to specify where the search for additional ways headers. (See man gcc / -I). After -i can follow a path absoulute or relative. Such data paths precedence over the default paths for headers in the system (it will look into them first). In terms of the routes passed by him, he has the first priority of the call path.

Default paths where you can find the usovm headers are in this order:






For example, whether a file named both existing test.h director / and directory b / and included the source file test.c.

$ ./[url removed, login to view] -Ia/ -Ib/ test.c


$ ./[url removed, login to view] -Ib/ test.c -I/path/to/dir/a/


The power of this task will be as follows:

[5p] The correct operation for simple file with headers that can only exist in the default paths or include sites form #include "header.h" (only the current directory). The script will be:

$ ./[url removed, login to view] <C_file>

[7p] The correct operation when -Ipath pass arguments of the form. The headers will not be included in subdirectories, that will not be in the file C lines form #include <dir / header.h> .Exemple of runs available:

$ ./[url removed, login to view] <C_file> -I.

$ ./[url removed, login to view] -I. <C_file>

$ ./[url removed, login to view] <C_file> -I. -Imydir/

$ ./[url removed, login to view] -I. <C_file> -Imydir -Iyourdir/

[8p] Operation correct and complete script with arguments -Ipath shape and form included with headers #include <dir / header.h>

it has few tasks to do one of the tasks where this which i told, for more information you can contact me

Evner: Linux, MySQL, PHP, Shell Script, Software Arkitektur

Se mere: design a logo for a newly established company named as “crown façade solutions, design a logo for a newly established company named as crown faade solutions, design a logo design for our local company, createmanage a ppc campaign for a local, create/manage a ppc campaign for a local, assignment for erp, android restaurant order example, send pjl command local printer example, trailing pending order example, pending order example, html table fixed header css example, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, php parsing local directory example, software write books, computer work order example, software write protection, free software write book

Om arbejdsgiveren:
( 5 bedømmelser ) kabul, Afghanistan

Projekt ID: #12538863

9 freelancere byder i gennemsnit $26 på dette job


Hello, I can do your script for an hours. Can start working in the morning. Its midnight here. Thanks...

$30 USD på 1 dag
(195 bedømmelser)

I am Yogesh sanwal, 5+ years experienced inwebsite and e-commerce development using PHP/MySQL. Take a look to my last work: [login to view URL] [login to view URL] [login to view URL] http://ww Flere

$25 USD på 1 dag
(101 bedømmelser)
$24 USD på 1 dag
(29 bedømmelser)

Hi, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements Flere

$30 USD in 0 dage
(17 bedømmelser)

Hello. More 20 years programming experience. I need more details to set real time and price. Regards. -------------------------------------------------------------------------------------------------------------- Flere

$25 USD på 1 dag
(23 bedømmelser)

A proposal has not yet been provided

$20 USD på 1 dag
(4 bedømmelser)
$25 USD in 2 dage
(2 bedømmelser)

My team has experience of 3 years in web and desktop application [login to view URL] have our hands dirty in working with various programming languages and we have mastered in java,C#,C and C++.We design and build websites Flere

$30 USD in 2 dage
(0 bedømmelser)

Your project needs writing a shell script for extracting the absolute paths. I can do that for you within your budget limits.

$25 USD på 1 dag
(0 bedømmelser)