|
How To Debug a Running Shell Script Is it possible to debug a shell script that is already running? The script was started with nohup and is running in the background. According to the gdb docs, it looks like this can be done, but I wanted to see if anyone has done this ... From "http://sourceware.org/gdb/current/onlinedocs/gdb_5.html#SEC18" se... 31 Mar 2008 20:40
Get the parameter pattern from command line Hi all, I have a problem. The situation is complicate. But, I will use a simpler example to explain. I have a directory having files: amanda.txt apple.txt anita.txt barbara.txt bonnie.txt betty.txt Then, I have a ksh shell scipt called viewfile.ksh When I issue the following : viewfile.ksh a* It w... 1 Apr 2008 21:46
Problem with export AWKPATH Dear All, I have a problem with export gawk's enviroment var AWKPATH. I have some function place in ~/lib/awk, after export AWKPATH enviroment var, it is worked to call function from ~/lib/awk here is screen shot fang(a)bash ~ $ tail -n6 ~/.bash_profile export NNTPSERVER='freenews.netfront.net' export LYNX_CFG... 31 Mar 2008 18:40
Cron is sorting with ls differently spacemancw wrote: On Mar 30, 9:51 pm, Bill Marcum <marcumb...(a)bellsouth.net> wrote: On 2008-03-31, spacemancw <spacema...(a)yahoo.com> wrote: I am running a script in cron and it is does an 'ls' differently than when I run the script in my shell at the command line. I ran a quick ... 31 Mar 2008 17:58
while /usr/bin/read Barry Margolin wrote: Which, of course, leads to the next question: why is there a /usr/bin/read command, if it doesn't work? man read on my system (linux) says (slightly reformatted): RATIONALE The read utility historically has been a shell built-in. It was separated off into its own util... 1 Apr 2008 09:00
Bash/Shell scripting practices/conventions Thank you your replies! I have another question though. What would it take to make the script POSIX compliant? Would I have to change much? Can you recommend some kind of checklist that I can work off? Regards, Tobias ... 31 Mar 2008 17:58
How to filter out without country's line ? In article <89298dd2-d42f-4e41-a8d3-938faefa3a29(a)c19g2000prf.googlegroups.com>, twf_cc <twfccc(a)gmail.com> wrote: .... I have re-writen my script with your hints, it work fine. Thankyou about the book `sed & awk' 2e, the author is Dale dougberty and Arnold Robbins, produced by O'REILLY My book is chinese ver... 31 Mar 2008 17:58
script provides input for executable I am trying to automate the following task from the command line: # ./<executable name> # exectuable prompts for input "Gimmie a value" # I type <input> and hit enter # executable prompts for input "Gimmie another" # I type <input2> and hit enter # executable exits I know how to pass arguments, but I do not ... 31 Mar 2008 18:40
Need help with grep explor <bhaveshah(a)gmail.com> writes: Hi Gurus, [snip] I think you have line wrapping. How many lines are the following? 07.JavaMail.remedy(a)happy.test.com>, proto=ESMTP, daemon=MTA, relay=happy.test.com [12.13.2.24] Mar 16 05:48:30 mta-rwc-1.test.com sm-mta[15538]: [ID 801593 mail.info] m2G... 1 Apr 2008 15:07
recursively searching directories, filtering some file extensions and processing found files * lbrtchx(a)gmail.com <lbrtchx(a)gmail.com>: Hi, ~ you can recursively produce a listing of all files from a certain directory with the script ~ find . -type f -ls | awk '{print $11}' find . -type f -print ~ I haven't still figured out how to filter certain files, say all with ".html" or... 2 Feb 2008 12:58 |