A good starting point for the Davinci™ digital media processors is DVEVM and DVSDK overview.
virgoptrex! Is ' ` ' actually ' ' '?
`...` - under Escape, means "execute and inline output here", can be $(......) also
' ... ' - is literal string, without expansion
the script could be:
myreplace(){ perl -i -pe "s[$1][$2]g" $( grep "$1" . -rl )
}
I should work on Ubuntu too, but I havn'e yet tested it. I'l test it on Ubuntu today eveing.
Constantine Embedded Linux Consulting: http://www.MakeLinux.com/ Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/
Please consider to Verify the Answer if applicable
It still didn't help me! I think ' ` ' could be correct. I am using Ubuntu 8.10 32 bit Desktop version and pretty sure perl is installed as I am using it!
I tried this 'today' script just for test and it works like charm!
today(){echo This is a `date +"%A %d in %B of %Y (%r)"`return}
Its better to be a fool for a minute rather than being foolish and ignorant for rest of the career![*-)]
What output do you have when you run my function?
Let's decompose script to command to find the problem.
What output do you have when do you run this:
grep mount -rl /etc/init.d/
echo A | perl -pe "s/A/B/"
?
I put a function with the script in /.bashrc and got the following
user@ubuntu:~$ grep mount -rl /etc/init.d//etc/init.d/hal/etc/init.d/mountall-bootclean.sh/etc/init.d/umountroot/etc/init.d/procps/etc/init.d/checkroot.sh/etc/init.d/readahead/etc/init.d/mtab.sh/etc/init.d/hwclockfirst.sh/etc/init.d/mountnfs.sh/etc/init.d/bootlogd/etc/init.d/keyboard-setup/etc/init.d/networking/etc/init.d/nfs-kernel-server/etc/init.d/hwclock.sh/etc/init.d/udev/etc/init.d/mountkernfs.sh/etc/init.d/nfs-common/etc/init.d/brltty/etc/init.d/umountfs/etc/init.d/mountdevsubfs.sh/etc/init.d/mountall.sh/etc/init.d/skeleton/etc/init.d/umountnfs.sh/etc/init.d/dbus/etc/init.d/laptop-mode/etc/init.d/mountoverflowtmp/etc/init.d/alsa-utils/etc/init.d/readahead-desktop/etc/init.d/sendsigs/etc/init.d/mountnfs-bootclean.sh/etc/init.d/ufwuser@ubuntu:~$ echo A | perl -pe "s/A/B/"Buser@ubuntu:~$ ?bash: ?: command not founduser@ubuntu:~$
Does this need to be different?
run this:
mkdir -p tmp; cd tmp ; echo ==AAA== > a; myreplace(){ perl -i -pe "s[$1][$2]g" $( grep "$1" . -rl );}; myreplace A B; cat a; cd -
you should get:
==BBB==
yeah I do get that o/p[***]
while multithreaded debugging, can not step into thread where a breakpoint is setted, why??????
what tool are you using to debug?
hello again,This is a second or third request for a more 'direct' solution to fixing or just 'updating' my 2006 PMP (DSP TMS320DM270). Over the past couple years i learned that COBY, MemUp, and a few other vendors/sellers of this unit refuse to acknowledge Ti and the older PMP line.Looking around the Ti website(s), i cant find enough info on the early DSP for these units. I dont' have any idea what tools will work or not.My hope is that someone here can actually step-up and help solve the rediculous $300 dollar problem(s) that several hundred (even thousands) of PMP owners are in need of. I have some experience in programming and even electronics, but I have yet to 'seed', d/l and modify the OS on this thing.If there is a working (stable) OS out there, please let me know, or PLEASE help me find the answers and tools I need to do the job myself. I believe it has the Cyruss USB chip and a 2MB flash but, I don't have a working Ti binary complier or any Ti tools for that DSP.If anyone has knowledge to actually pointing the way to the truth, I can honestly say that; me and atleast a thousand others would be truley greatful!Thanx Again,kenny_kthe.copycat@lycos.comLas Vegas, NevadaJuly 2010
Hi Bernie Thompson!
Thanks you for your contribution! I highly appreciate your IT acknowledge. Hope you share more interesting and useful links in IT field.
Best wish!