Trying again: try to use the full path to gcc in the script.
As I said before the full gcc path doesn't change anything. Please take my word for it next time. I have a complicated route to paste from my X emulator (typescript, sftp, edit out garbage characters, copy and paste) and you guys are wearing me out. Don't get me wrong I really really appreciate all your help and the time we've already spent. But at this point maybe you'll remember I said this was not a simple problem or why would we still be at it 4 hours later?
---------- Post updated at 05:26 PM ---------- Previous update was at 05:23 PM ----------
Quote:
Originally Posted by Corona688
...or just source the file instead of running it. . ccantplot
OK progress ". ccantplot" worked?? Why did sourcing the file work?
In bash, I can match the ' character in a substition involving the line ending symbol $, easily.
In tcsh I ran into a problem.
Code:
sed "s/$/'/g" filename
sed "s/$/'/g" < filename
sed -e "s/$/'/g" filename
Unmatched '.
Where can I find out why this is the case? (2 Replies)
So I am new to unix, and actually anything outside drag and drop with the mouse (been learning for about a week so far) . I have been using the foreach command in tcsh because I am working on a group of files. Basically what I need is to insert part of the filename as the first line in the file.... (0 Replies)
Hi,
I need to find tcsh shell version info on several boxes.
I made a script and running on boxes through SSH.
This is what i am doing :
echo /bin/tcsh -c 'echo $version' | ssh "box name"
but i dont see anything.
if i run /bin/tcsh -c 'echo $version' on ocal machine i see the... (2 Replies)
Greetings!
I love the power and control offered by BASH but detest its syntax! Is there some alternative *nix shell language? (other than TCSH)
Or maybe a wrapper that affords the use of BASH commands via an easier syntax?
I considered creating a complicated system of aliases to... (8 Replies)
Hello,
When i run a bash script on ubuntu i get this message..
#!/bin/bash cannot find file or directory...
Can anibody help me with this, because the file actually exists....
Is there any extra configuration to be made? (5 Replies)
As I stated in a previous thread - I'm a newbie to Unix/Linux and programming. I'm trying to learn the basics on my own using a couple books and the exercises provided inside.
I've reached an exercise that has me stumped. I need to write a bash script that will will read in a file and print the... (11 Replies)
So, I made a script beginning with #!/bin/bash on gedit.
And I double clicked it to run in terminal and I end up with "The child process exited normally with status 127" and "command not found".
If I run the same script from the terminal as "tcsh (script name)" it runs just fine.
If I... (8 Replies)
As part of a bash the below line strips off a numerical prefix from directory 1 to search for in directory 2.
for file in /home/cmccabe/Desktop/comparison/missing/*.txt
do
file1=${file##*/} # Strip off directory
getprefix=${file1%%_*.txt}
... (5 Replies)
I need to find a file and print its contents
I am trying but it is not working
find -path /opt/app-root/src/.npm/_logs -type f -name "*.log" -print
Version
$ bash -version
GNU bash, version 4.4.12(1)-release (x86_64-pc-msys) (1 Reply)
Discussion started by: SVRao19056
1 Replies
LEARN ABOUT XFREE86
xf86cfg
xf86cfg(1) General Commands Manual xf86cfg(1)NAME
xf86cfg - Graphical configuration tool for XFree86 4.0
SYNOPSIS
xf86cfg [-xf86config XF86Config] [-modulepath moduledir] [-fontpath fontsdir] [-toolkitoption ...]
DESCRIPTION
Xf86cfg is a tool to configure XFree86 4.0, and can be used to either write the initial configuration file or make customizations to the
current configuration.
When the DISPLAY environment variable is not set, xf86cfg will run the command XFree86 -configure to allow the xserver detect the hardware
in the computer, and write an initial XF86Config file in the user's home directory. Then, it will start XFree86 and allow customizations.
If the DISPLAY environment variable is set, xf86cfg will read the default XF86Config, that may not be the same being used by the current
server, and allow customizations.
To use an alternative location for modules or fonts the respective search paths may be specified.
Unless there is an Apply button in the current xf86cfg dialog, the changes made will take place the next time XFree86 is started.
Xf86cfg allows addition and configuration of new devices, such as video cards, monitors, keyboards and mouses.
Screen layout configuration for xinerama or traditional multi-head is also available.
Modelines can be configured or optimized.
AccessX basic configurations can be made in the xf86cfg's accessx section.
OPTIONS -xf86config
Specifies an alternate XF86Config file for configuration.
-modulepath
Specifies where xf86cfg, and the server it may start, should look for XFree86 modules.
-serverpath
Specifies the complete path, not including the binary name, of the XFree86 binary.
-fontpath
Specifies the path to the fonts that should be used by the server started by xf86cfg.
-rgbpath
Specifies the path to the rgb.txt file that should be used by the server started by xf86cfg, if any.
-textmode
If xf86cfg was compiled with support to ncurses, this option makes xf86cfg enters a text mode interface.
-nomodules
When built with support for loading modules, this options changes xf86cfg behaviour, so that it will not load any modules, and thus
start quicker.
ENVIRONMENT
DISPLAY Default host and display number
XWINHOME
Directory where XFree86 was installed, defaults to /usr/X11R6.
XENVIRONMENT
Name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property
FILES
/etc/XF86Config
Server configuration file
/etc/X11/XF86Config
Server configuration file
/usr/X11R6/etc/XF86Config
Server configuration file
/usr/X11R6/lib/X11/XF86Config.hostname
Server configuration file
/usr/X11R6/lib/X11/XF86Config
Server configuration file
/usr/X11R6/lib/X11/app-default/XF86Cfg
Specifies xf86cfg resources
/usr/X11R6/lib/X11/xkb/X0-config.keyboard
Keyboard specific configuration
SEE ALSO XFree86(1)XF86Config(5)COPYRIGHT
Copyright 2000, Conectiva Linux S.A.
http://www.conectiva.com
Copyright 2000, The XFree86 Project
http://www.XFree86.org
AUTHORS
Paulo Cesar Pereira de Andrade <pcpa@conectiva.com.br>
The XFree86 Project
BUGS
Probably.
XFree86 Version 4.7.0 xf86cfg(1)