That's awesome, thank you!
Although I've been using parameter expansion ${var%pat} quite a bit, the pound and percent I've been confusing all along. The mnemonic is great!
One think that I have yet to be explained is the redirection from subshell in this manner:
But the following works:
Why do I need two '<' in this construct?
Hi,
Can the cd command be invoked using pipes???
My actual question is slightly different. I am trying to run an executable from different folders and the path of these folders are obtained dynamically from the front end. Is there a way in which i can actually run the executable... (2 Replies)
I'm investigating strange behaviour on two boxes (Sun OS 5.10 and AIX 5.1) in ksh
have used $? to get exit codes returned:-
137 and 34
where can I find what these mean?
thank you (1 Reply)
Hi everybody, I'm writing to know what the following event stands for. I know that the following event is about a "su to root" action but I don't have any Idea about what action could rise this message. For example If an acction performed by the root crontab, a sudo command or something like that.... (1 Reply)
Hi,
thanks for b4. can anyone tell me why following not working:
noUsers=$(who | cut -d" " -f1 | wc -l)
What i'm trying to do is get a list of logged on users and pass it to 'wc -l' and store the output to a variable. Any ideas? (1 Reply)
im trying to figure out how to do the following:
using pipes to combine grep and find commands to print all lines in files that start with the letter f in the current directory that contain the word "test" for example?
again using pipes to combine grep and find command, how can I print all... (1 Reply)
Hello all, I am trying to learn more about programming Unix pipes in C.
I have created a pipe that does od -bc < myfile | head
Now, I am trying to create od -bc < myfile | head | wc
Here is my code, and I know I might be off, thats why I am here so I can get some clarification.
#include... (1 Reply)
Hi all,
I was trying see some CPU utilization of a Red hat Linux machine using 'top' command.
Any way I got high level idea from the out puts,
but when I observed the following line:
Cpu(s): 7.4%us, 0.5%sy, 0.0%ni, 91.6%id, 0.4%wa, 0.0%hi, 0.1%si, 0.0%st
I couldn't make out what... (2 Replies)
Discussion started by: a99u
2 Replies
LEARN ABOUT DEBIAN
dh_python3
DH_PYTHON3(1) User Commands DH_PYTHON3(1)NAME
dh_python3 - calculates Python 3 dependencies, adds maintainer scripts to byte compile files, etc.
SYNOPSIS
dh_python3 -p PACKAGE [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR]
OPTIONS --version
show program's version number and exit
-h, --help
show this help message and exit
--no-guessing-deps
disable guessing dependencies
--no-dbg-cleaning
do not remove any files from debug packages
--skip-private
don't check private directories
-v, --verbose
turn verbose mode on
-i, --indep
act on architecture independent packages
-a, --arch
act on architecture dependent packages
-q, --quiet
be quiet
-p PACKAGE, --package=PACKAGE
act on the package named PACKAGE
-N NO_PACKAGE, --no-package=NO_PACKAGE
do not act on the specified package
-V VRANGE
specify list of supported Python versions. See py3compile(1) for examples
-X REGEXPR, --exclude=REGEXPR
exclude items that match given REGEXPR. You may use this option multiple times to build up a list of things to exclude.
--compile-all
compile all files from given private directory in postinst/rtupdate not just the ones provided by the package (i.e. do not pass the
--package parameter to py3compile/py3clean)
--depends=DEPENDS
translate given requirements into Debian dependencies and add them to ${python:Depends}. Use it for missing items in requires.txt.
--recommends=RECOMMENDS
translate given requirements into Debian dependencies and add them to ${python:Recommends}
--suggests=SUGGESTS
translate given requirements into Debian dependencies and add them to ${python:Suggests}
SEE ALSO
/usr/share/doc/python3-doc/README.PyDist (python3-doc package)
dh_python3 3.0~beta2 September 2010 DH_PYTHON3(1)