Hi Gurus,
I have a requirement.
cat /usdd/Sample/"NDDF Plus DB"/"NDDF Descriptive and Pricing"/"NDDF BASICS 3.0"/"Pricing"/1.txt |
sed 's/*|*/|/g' |
sed 's/^*//'|
sed 's/^*//;
s/*$//' > temp.txt
In unix prompt the above command is reading the file 1.txt and I am... (1 Reply)
I am deploying a shell script in korn shell that will be called from a cronjob.
It has to call other scripts in the same directory. However, the directory will change from server to server.
The directories are not in my path and I cannot change that.
Is there an easy way to set a variable... (4 Replies)
I am interested in knowing the proper, yet security-conscious settings for a directory. Here's my scenario:
1. I have a username for FTP access to my server called "user".
2. For the purpose of the scenario, PHP runs as "nobody" on my server.
3. I have a directory off the document... (0 Replies)
I have a Bash script on Cygwin that tries to iterate through the directory entries in PATH. I need to convert the PATH value to a form that I can iterate through with "for var in $list; do".
For instance, an excerpt from my PATH value is this:
:/c/Program Files/Windows Imaging/:/c/Program... (2 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
Hi all,
I have a variable test has the following value assigned.. could you please help on doing cd or ls to the value in the varible ...
$echo $test
/bdm/sdd/compounds/AD4833XT/requests/clin/Watson_20090420/docs/MHRA\ Comments\ \&\ Responses
$cd $test
ksh: cd: bad argument count
$cd... (3 Replies)
I am organizing my music library on a NAS server. I want to print a list of all the directories that are missing the cover art (at least one or more jpeg file). I have successfully created a file with each line containing the path to each occurance of one or more .mp3 files. That path is also... (2 Replies)
My input is as below :
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt
/splunk/scrubbed/triumph/ifind.triumph.txt
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies
LEARN ABOUT DEBIAN
bam
BAM(1) User Commands BAM(1)NAME
bam - fast and flexible build system
SYNOPSIS
bam [OPTION]... [VARIABLE=VALUE]... [TARGET]...
DESCRIPTION
Builds applications using the bam build system.
Execution:
-a abort on error
-c clean targets
-d build targets that is dependent given targets
--dry dry run, don't run any jobs
-j sets the number of threads to use (default: 0, disabled)
-s bam file to use (default: bam.lua)
Lua:
-l print local variables in backtrace
-t print backtrace when an error occurs
Output:
-r build progress report format (default: s) b = progress bar c = use ansi colors s = build steps
-v be verbose
Other:
-n don't use cache
-h, --help
prints this help
Debug:
--debug-nodes
prints all the nodes with dependencies
--debug-detail
prints all the nodes with dependencies and details
--debug-jobs
prints all the jobs that exist
--debug-dot
prints all nodes as a graphviz dot file
--debug-jobs-dot
prints all jobs as a graphviz dot file
--debug-trace-vm
prints a line for every instruction the vm makes
--debug-dump-int
prints the internals scripts to stdout
--debug-no-int
don't load internal scripts
bam by Magnus Auvinen (magnus.auvinen@gmail.com)
bam May 2011 BAM(1)