I did not quote that you are deleting the parent directory bit intend to delete 'WORKSPACE' inside the parent directory. That said I am looking at your "workspace_setup.sh"...
[code]if [ "$#" -ne "3" ]
then
echo -e "${RED}USAGE : script.sh WORKSPACE DATASET_PATH UTT_PATH${NC}"
exit 1
fi
if [[ $1 = "" ]]
then
echo -e "${RED}Missing Workspace name! - Provide a name!${NC}"
exit 1
fi
[..]/code]
Firstly '$1' can NEVER be NULL if """$2""" and """$3""" exist. They just shift places so that '$2' becomes '$1' and so on.
[..]
Note: here $1 is tested if it is the empty string. $1 CAN be the empty string, while $2 and $3 are not if we call the script like so:
or if IFS is set in a certain way..
This User Gave Thanks to Scrutinizer For This Post:
I have a script running in the crontab that gets data from a database every hour. Now I would like to execute a fortran routine to process the data in some way, after getting it and saving it locally.
I have added the following commands to my script:
set convert =... (1 Reply)
Hi ,
Just to find out a way to compare these 2 files and give unique output.
For eg:
1.txt contains
1
2
3
4
5
6
--------------------------------------
2.txt contains
1
2
6
8 (1 Reply)
hi
i need to check for the value of one particular field : in the output file. the file may contain many such records as below
how to ????
*** Throttled with base name + key params!
:
: -518594328
: les.alarm.LBS12005
: les.alarm.LBS12005
: les
: lessrv1
: les
: 2328
: 0... (7 Replies)
At a new job, I've inherited a handful of Solaris 10 SunFire V240 servers.
I noticed that the metadevices are not consistent, in a way that I've not seen before....
internal mirrored disks:
metadevice d60 has c1t0d0s6 as submirror 0 (d61) and c1t1d0s6 as submirror 1 (d62)
metadevice... (1 Reply)
Hi all
I run my program prog.c in the following way :
$ ./prog 1 > output.txt where 1 is a user defined initial value used by the program.
But now I want to run it for many a thousand initial values, 1-1000, and store all the outputs in different files.
Like
$ ./prog 1... (1 Reply)
##Execute the EDW_MEM_KEY_UPDATE procedure
ext_sta=`sqlplus -s ${Connstr} <<eof
set heading off;
set pagesize 0;
set feedback off;
set serveroutput on;
execute EDW_MEM_KEY_UPDATE ;
quit;
here`
vara="ORA-"
var=`echo $ext_sta | grep -c $vara `
Hi All,
above is a part of my unix... (7 Replies)
Hi Expert,
I have a .sh script in my home/new_dir/script.sh
This script creates number of output files at home/new_dir/email, home/new_dir/logs dir.
I am running this script using crontab (owner root).
Now this output files are getting created with
rw-r----- 1 root root
So if i... (2 Replies)
Hello,
I am trying to make a bash script, I tested nohup but it did not help me.
My code is:
ffmpeg -i $input_url -c:v copy -c:a copy -listen 1 -f mpegts http://localhost:port/live/test
When I open it in VLC, it starts feeding my screen and I see bitrate values.
When I stop watching it,... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
update-gap-workspace
UPDATE-GAP-WORKSPACE(1) User Commands UPDATE-GAP-WORKSPACE(1)NAME
update-gap-workspace - manage a GAP workspace.
SYNOPSIS
update-gap-workspace
update-gap-workspace update
Create or update the GAP workspace.
update-gap-workspace delete
Delete the GAP workspace.
DESCRIPTION
At start up, GAP load all libraries and packages available on the system. This take several seconds. To save time, GAP can store the
result of this initialisation in a `workspace'. update-gap-workspace help to manage such workspaces. update-gap-workspace can be run as
root to manage the system-wide workspace. update-gap-workspace can be run as a normal user. In this case the workspace is stored in
$HOME/gap/workspace.gz.
Note that you need to rebuild the workspace each time GAP packages are added, removed or updated. To automate that task, if the system-wide
workspace exists, it is automatically updated whenever a GAP-related Debian package is installed or upgraded.
The gap script will automatically load such workspace at start up.
FILES
/var/lib/gap/workspace.gz:
The system-wide GAP workspace.
$HOME/gap/workspace.gz:
The user-specific GAP workspace.
SEE ALSO gap(1), The `SaveWorkspace' function in the GAP manual.
AUTHOR
Bill Allombert <ballombe@debian.org>
NOTES
We are considering enabling the system-wide workspace per default, though this feature could be too confusing for old-time GAP users. If
you have opinions about it, please mail <gap@packages.debian.org>.
Debian July 2003 UPDATE-GAP-WORKSPACE(1)