I have a script that shows me the disk SPace used by different dir under my home dir:
#!/bin/ksh
cd /ednpdtu3/u01/pipe
p1=`df -g | tail -1 | tr -s " " | cut -d " " -f2`
echo "Total Disk Space of Home Dir is $p1 GB"
p2=`df -g | tail -1 | tr -s " " | cut -d " " -f3`
echo "Total Disk Space... (2 Replies)
Hello
I have a file with data something like this in it :
texttexttext "text .lst" TEXT=" text "
texttexttext "moretext .lst" TEXT=" text "
Question is how do I get rid of space so that the files looks like this :
texttexttext "text.lst" TEXT="text"
texttexttext... (8 Replies)
I have a customer file now and would like to separate the names into two cells in a spreadsheet. Here is my data as an example:
SHAWN R KEEGAN
shawn r scroggin
Shawn Regan
Shawn Reilly
The first two have the middle initial so I'd like to include them in the "first name" field and the last... (11 Replies)
Hi
I am trying to remove trailing space from a string.
value=${value%% }
It is not working. What might be the issue with the above snippet. (7 Replies)
I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation?
Here is my query:
cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}'
02:00:00... (1 Reply)
Hello,
I need help. I have xml file and there are one extra space on number <EpiReference>1 42345</EpiReference>. And of cource, the value change on every new file. I need remove space from that value what is in between <EpiReference> and </EpiReference>. How I can do that?
This are example... (9 Replies)
UPDATE-PYTHON-MODULES(8) System Manager's Manual UPDATE-PYTHON-MODULES(8)NAME
update-python-modules - byte-compile python modules
SYNOPSIS
update-python-modules [options] [package.public [...]]
DESCRIPTION
The update-python-modules command is part of the python-support bundle.
update-python-modules is responsible for the byte-compilation of python modules. When used in byte-compilation mode, it will byte-compile
modules references in the files given on the command line. When used in installation mode, it will byte-compile them once for each
installed python version, and will make them available for all of them.
At each invocation, with or without arguments, update-python-modules will check for installed python versions, and will build or remove
modules according to new or removed versions since the last time it was run.
ARGUMENTS
Arguments must be files or directories located in the /usr/share/python-support directory. Depending on their extension, they are treated
differently.
package.public
A file listing public modules to install for each version. These modules must lie in /usr/share/pyshared or /usr/lib/pyshared.
package.private
A file listing private modules to byte-compile for one Python version.
package/
A legacy directory hierarchy of public modules. The C extensions and portions that change with the Python version are to be found in
/usr/lib/python-support/pythonX.Y/package/.
package.dirs
A legacy file listing directories where to find private modules.
OPTIONS -h, --help
Show summary of options.
-v, --verbose
Detail all actions while they are performed.
-b, --bytecompile
Only accept to work on private modules. When given this option, update-python-modules will fail if passed references to public mod-
ules.
-i, --install
Only accept to work on public modules. When given this option, update-python-modules will fail if passed references to public mod-
ules.
-c, --clean
Clean modules instead of installing them.
-a, --rebuild-all
Rebuild all private modules. This is necessary when the default python version was changed, for example.
-f, --force-rebuild-all
Clean all modules (public and private), and rebuild them.
FILES
/usr/lib/pymodules/pythonX.Y/
These directories contain the byte-compiled modules for version pythonX.Y.
SEE ALSO
/usr/share/doc/python-support/README.gz
AUTHOR
Josselin Mouette <joss@debian.org>.
18 Feb 2009 UPDATE-PYTHON-MODULES(8)