10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello folks.
I will start out by saying as far as unix/linux scripting goes I know less about it than i do about giving birth (I'm a guy hehe). I am looking to make a shutdown script that will either shut down the system or reboot it using one of the shutdown run methods IE init 2 - 5 or a base... (1 Reply)
Discussion started by: azurie
1 Replies
2. Shell Programming and Scripting
I have script, which need some variable from user and i use below command for this
read
this script works fine while running without background, but when i run this script in background, it ask first variable then immediately it show below error
KSH variable not found
please let me... (1 Reply)
Discussion started by: pallvi_mahajan
1 Replies
3. Shell Programming and Scripting
Hi all,
I'm trying to execute from crontab a script that uses an interactive shell (swmml, Signalware MML Commands).
I think the problem is about the crontab environment which miss tty/console/terminal etc...
After many tryings and searches I didn't come to a solution.
The program is... (13 Replies)
Discussion started by: Evan
13 Replies
4. Shell Programming and Scripting
Greetings!
Some of my files list hardware errors (we test electronic components), some have none. If the file name has no errors, I still want to display a message like "No error", else I display the error from the file itself.
I came up with this (with help)
for myfile in `find . -name... (2 Replies)
Discussion started by: alan
2 Replies
5. Shell Programming and Scripting
Hi,
I am writing an interactive shell script (ksh) but I have no idea how I could make a condition on it :
Variables :
rep_config="${rep_tools}/_CONFIG"
rep_config_old="${rep_config}/_PROTO_OLD"
Here is the interactice part :
lst_proto=$(cat... (2 Replies)
Discussion started by: Aswex
2 Replies
6. Shell Programming and Scripting
Greetings gurus
I have this simple scripts
#!/bin/bash
find /kl1/CTT/TQI_001/330_spike/sz00/latcon1/ -type d -name "*.dig" > data_schema
find /kl1/CTT/TQI_001/330_spike/sz00/latcon1/ -type d -name "*.dig" >> data_schema
<data.schema awk '{print NR, "inVol=" $0, "setDt=4000",... (1 Reply)
Discussion started by: Marjan
1 Replies
7. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
8. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
9. Shell Programming and Scripting
Gud morning everybody,
I need small help form you people,Please advice me.
I have a utility(adpatch) which takes 10-15 prompts, i want to automate this by calling this utility in shell script. Now my qiestion i want to run the script in non interactive mode.
An example.
$adpatch... (1 Reply)
Discussion started by: swetham.apps
1 Replies
10. Shell Programming and Scripting
Hi friend,:)
The script should invoke these scripts sequentially!
When one will finish the second will start.
Please help me with it,
thanks,:b:
Ishai (3 Replies)
Discussion started by: ishai82
3 Replies
g-wrap-config(1) General Commands Manual g-wrap-config(1)
NAME
g-wrap-config - script to get information about the installed version of G-Wrap
SYNOPSIS
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG | --guile-module-directory ]
DESCRIPTION
g-wrap-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link
progams, libraries, and plugins that use G-Wrap. However, since G-Wrap 1.9, this tool has been deprecated in favor of pkg-config(1). New
code should use the g-wrap-2.0-guile pkg-config module, g-wrap-config only exists for compatibility reasons.
OPTIONS
--c-compile-args LANG
Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap language binding for LANG.
--c-link-args LANG
Print the linker flags that are necessary to link a program that uses the G-Wrap language binding for LANG.
--version
Prints the currently installed version of G-Wrap on standard output.
EXAMPLES
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
is how you might use g-wrap-config to compile a C source file for an executable program.
gcc -o my_app $(g-wrap-config --c-link-args guile) main.o util.o
is how you might use g-wrap-config to link compiled objects into an executable program.
AUTHOR
G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee.
This manual page was written by Andreas Rottmann, originally for the Debian Project.
G-Wrap 1.9 2005-05-01 g-wrap-config(1)