04-05-2011
Complete Code, or just Problematic Sections??
In general, would most experts, moderators and programmers, like to see the original entire script (even if very long), or just a simplified version of the problematic parts?
I currently have a GNU bash function (with a lot of issues). Is it more advisable to make separate posts for each problematic section, or try to get help with the entire script at once?
I am not trying to get others to do my work for me, I just need some guidance every now and then.
I have even written a small script to try to self-debug my problems, ignoring all the 'fancy' parts of the function.
If the community understands I have tried my best, is it too much to ask to solve the whole function?
In conclusion, what are my best chances of getting help?
Thanks.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
2. Homework & Coursework Questions
I have the following piece of codes. Please explain it to me in great detail how are these codes working.
1. #include <stdio.h>
int main(){
int x;
x=0;
while (x<2 && fork()){
if (!fork()) execlp("echo","x++","x",0);
x++;
system("echo x+x");
}
}
2.
#include <stdio.h>
int i;... (1 Reply)
Discussion started by: prakashabii
1 Replies
3. Programming
Ok, so I have done the 'mathematical part' just I am not sure where to put them in and how to get them to return answers.
public class Main {
public static void main(String args) {
}
//Part A.
//1&2- Computes the sum andproduct of all of the elements of the array a.
... (5 Replies)
Discussion started by: HardyV2
5 Replies
4. Shell Programming and Scripting
hi people;
the similar topic is being opened in here and here but i have confused with following condition. so i wanted to open a seperate topic.
from my file.txt:...
...
...
110105-16:04:04 192.168.1.1 7.1j Port_NODE_MODEL_M_1_8 stopfile=/tmp/10544... (0 Replies)
Discussion started by: gc_sw
0 Replies
5. Shell Programming and Scripting
This code works perfect when using a machine with only one interface online. (Excluding the loopback of course) But when I have other interface up for vmware or a vpn the output gets mixed up. I know I had this working when I was just reading ip's from files so I know it is not a problem with... (8 Replies)
Discussion started by: Azrael
8 Replies
6. Solaris
Hi guys,
I have a Solaris 10 x86 server with 2 physical disks. It had a ZFS rpool on the first disk c0t0d0s0. The server stopped booting with some error like "Cannot find bootfile".
I booted with Solaris DVD and re-installed the operating system on the second disk with a different pool... (0 Replies)
Discussion started by: ARPcPro
0 Replies
7. Hardware
Good Day All,
There are numerous results when searching google on this issue, however, none seem to have a solution.
I have read until my eyes bleed and banged my head on the table more than once! :)
I am hoping to resolve this issue -- or at least have a decent workaround.
It is a real... (13 Replies)
Discussion started by: RogerBaran
13 Replies
LEARN ABOUT DEBIAN
gv-update-userconfig
GV(1) User Commands GV(1)
NAME
gv-update-userconfig - update ~/.gv config file
SYNOPSIS
gv-update-userconfig [filename]
DESCRIPTION
gv-update-userconfig is a simple script to update an .gv config file to the current version of gv(1).
You can specify a file which is used instead of .gv by using the optional filename argument. This is useful if the environment variable
XUSERSEARCHPATH is used.
This is done by removing all entries known to cause problems with the current version of GNU gv (i.e. the one the version of this program
belongs to) and updating the version information in that file. This resets all problematic items back to the default values.
-h, --help, --usage
displays a short help message
-r removes all resources from ~/.gv that equal the default resources being shipped with GNU gv (ignoring whitespaces).
-n switches to alternative navigation by adding resp. updating navigation resources to ~/.gv, i. e. after each page switch (except if
selected by the page number) the page is scrolled to top (if switching forward) resp. to the bottom (if switching backward).
-N switches to standard navigation by adding resp. updating navigation resources to ~/.gv.
-s removes navigation resources from ~/.gv and therefore enables standard navigation.
-i updates translation file. Using the optional filename parameter is strongly recommended for using this option. This option cannot be
used together with any of the other options.
BACKGROUND
The $(HOME)/.gv file is written by GNU gv when activating the Save button in one of the configuration dialogs.
The values in there are used, if there is no display-specific resource value (loaded from $(HOME)/.Xresources at login time or manually
xrdb(1)).
Sometimes older values miss things needed by the new GNU gv to work properly. This GNU gv will notice old (or missing) version information
in this file and refuse to start until fixed.
SEE ALSO
gv(1), xrdb(1).
COPYRIGHT
This manpage is Copyright (C) 2008 Bernhard R. Link and can be used, copied, distributed and/or modified without restrictions.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
gv 2008-07-31 GV(1)