When the script runs it fails to exclude the exclusions from $exclude. the output from bash shows that when it echoes the exclusions into the rsync line they appear to have single quotes around them which ruins rsync's interpretation of the excludes.
The echo of the variable appears fine.
How can I get the output of the exclusions to appear exactly how echoing the variable looks?
I'm having trouble manipulating a string that contains single quotes (') in it. I'm writing a ksh script to parse in a few queries from a config file, such as this:
findbug \(\(Project 'in' "Deployment,HDRCI,LHS,LSS,WUCI" '&&' Status 'in' "N" '&&' New_on 'lessthan' "070107" \)\) '&&' \(Class... (9 Replies)
Hi,
Please help me to echo the following statement using single quotes
Why can't I write 's between single quotes
Thanks in advance,
Chella (3 Replies)
I'm not very familiar with the ssh command. When I tried to set a variable and then echo its value on a remote machine via ssh, I found a problem. For example,
$ ITSME=itsme
$ ssh xxx.xxxx.xxx.xxx "ITSME=itsyou; echo $ITSME"
itsme
$ ssh xxx.xxxx.xxx.xxx 'ITSME=itsyou; echo $ITSME'
itsyou
$... (3 Replies)
Hi,
I am trying to create a script which validates the incoming source files. The script has File name Pattern as Argument. The First part of the script validates if there are any files available
if
then
echo "\n Files are available to process \n"
else
echo "\n File does not... (9 Replies)
Unix superusers,
I am new to unix but would like to learn more about grep. I am very familiar with regular expressions as i have used them for searching text files in windows based text editors. Since I am not very familiar with Unix, I dont understand when one should use GREP with the... (2 Replies)
Hi I want to replace single quote with two single quotes in a perl string.
If the string is <It's Simpson's book> It should become <It''s Simpson''s book> (3 Replies)
Hello. I'm trying to write a bash script that uses GNU screen and have hit a brick wall that has cost me many hours... (I'm sure it has something to do with quoting/globbing, which is why I post it here)
I can make a script that does the following just fine:
test.sh:
#!/bin/bash
# make... (2 Replies)
Hi i have to insert the below line into a specific line number of another file
export MBR_CNT_PRCP_TYPE_CODES_DEL="'01','02','04','05','49','55','UNK'"
I have passed the above line to a variable say ins_line. I have used below command to perform the insert
awk 'NR==3{print "'"${ins_line}"'"}1'... (1 Reply)
# echo 'export HISTFILE=/var/log/history/history_$(uname -n)_$(date +%Y:%b:%d:%H:%M)_$(who am i | awk '{print \$1}')' >> new_file
#
# cat new_file
export HISTFILE=/var/log/history/history_$(uname -n)_$(date +%Y:%b:%d:%H:%M)_$(who am i | awk {print $1})
#
Now how to echo the quotes around the... (2 Replies)
Hi,
Trying to change the prompt. I have the following code.
export PS1='
<${USER}@`hostname -s`>$ '
The hostname is not displayed
<abc@`hostname -s`>$ uname -a
AIX xyz 1 6 00F736154C00
<adcwl4h@`hostname -s`>$
If I use double quotes, then the hostname is printed properly but... (3 Replies)
Discussion started by: bobbygsk
3 Replies
LEARN ABOUT DEBIAN
pycallgraph
PYCALLGRAPH(1) User Commands PYCALLGRAPH(1)NAME
pycallgraph - command-line interface to pycallgraph
SYNOPSIS
pycallgraph [OPTION]... pythonfile
DESCRIPTION
This manual page documents pycallgraph. This manual page was originally written for the Debian distribution.
pycallgraph is a program that creates call graphs for Python programs. pycallgraph is the command line interface to pycallgraph's
make_dot_graph method, which generates a call graph and stores it as an image in the specified image file.
-o, --output-file
the file name of the output image. Default: pycallgraph.png
-f, --image-format
the image format of imagefile. Default: png
-q, --quiet
Suppress status output to the console.
-t, --tool
the tool from GraphViz to use. Default: dot
-s, --stdlib
include standard library functions in the trace. Default: False
-i, --include
wildcard pattern of modules to include in the output. You can have multiple include arguments
-e, --exclude
wildcard pattern of modules to exclude in the output. You can have multiple exclude arguments
-d, --max-depth
maximum stack depth to trace
--exclude-timing
wildcard pattern of modules to exclude in time measurement. You can have multiple exclude arguments
--include-timing
wildcard pattern of modules to include in time measurement. You can have multiple include arguments
EXAMPLES
Create a call graph called pycallgraph.png on myprogram.py:
pycallgraph ./myprogram.py
Create a call graph of a standard Python installation script with command line parameters:
pycallgraph --output-file=setup.png -- setup.py --dry-run install
Only see the module "distutils" within the execution of easy_install:
pycallgraph --include=distutils.* /usr/bin/easy_install
AUTHORS
pycallgraph and pycallgraph were written by Gerald Kaszuba <pycallgraph@slowchop.com>.
This manual page was originally written by Jan Alonzo <jmalonzo@unpluggable.com>, for the Debian GNU/Linux system.
pycallgraph version 0.5.1 2008-07-08 PYCALLGRAPH(1)