First  |  Prev |  Next  |  Last
Pages: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Free Online Subversion Training - Introduction to Subversion for Developers
The second course in the series, "Introduction to Subversion for Developers" will take place on Wednesday, May 5, 2010 at 9AM PDT. Subversion's architecture and design principles will be covered and attendees will be introduced to using Subversion for software development. http://wandisco.com/webinar/subversion/... 29 Apr 2010 12:23
Linuxrc and nash
I have a requirement to run a script code in linuxrc which deals with string and sub string functionality. But the linuxrc file contains #!/ bin/nash so its not recognizing any bash shell commands. How I can use Bash shell commands in linuxrc can I change the first line #!/bin/ nash to #!/bin/bash and the system ... 28 Apr 2010 19:43
chown problems
Dear All, I am trying to change the owner of a file on my Linux system and it is giving me an error message saying that I am not the owner. However, whoami city ls -l test.sh -rwxr-xr-- 1 city web 182 Apr 28 12:50 test.sh chown web test.sh chown: test.sh: Not owner What could be ... 1 May 2010 08:43
Dealing with different number of fields in a file
Hi, I have a file with 4000 rows. The file consists of one filed (in a single row) followed by 4 fields (multiple rows but not a fixed number of rows). Something like: g1 fs01 7 800 0.01 fs03 7 805 0.5 fs05 7 900 0.001 g2 as1 10 231 0.06 as7 10 335 0.01 as11 10 400 0.8 I would like to print ... 28 Apr 2010 15:09
nyd frequency
hi. i had to test an hypothesis about the relative frequencies of weekdays on the new-year-day (january 1). i came up with this quickie: $ echo -ne '\t' ; cal -m | head -2 | tail -1 ; for YEAR in $(seq 1585 1 3000) ; do cal -m 01 $YEAR | head -3 | tail -1 ; done | sort -r | uniq -c Mo Tu We Th Fr S... 1 May 2010 17:36
parsing XML file with sed
All: Can somebody please point me in the write direction. I need to read an XML file and for every occurance of <name>NameNotFoundException</name> (ignore case) and than parse out the value of key under the detail tag. Here is an example of my XML file: <exception> <name>NameNotFoundException</name> ... 28 Apr 2010 06:08
awk: replace previous newline on match
Is there an easy way to replace the *previous* newline when a line contains a regexp match? I suspect awk is the right tool for this, but I'm not very familiar with awk. It appears to be possible, but very clumsy, to do this with sed. I know how to do it with an ed script, but I would like to pipeline. ... 27 Apr 2010 19:04
How do I write an alias for this?
Hi, I'm using Mac 10.6.3 with a bash shell. Currently I use this command to search for text in a bunch of files ... find . -name "*.xml" -exec grep -i 'fillInBlankTestItem' /dev/null {} + I was wondering if someone knows how I can define a shorter command "myfind", that I could write like such myfind . ... 27 Apr 2010 13:19
multiple cmnds in ssh..
hi would like to have a quick fix for the below one which is throwing error -------------------------------excerpt------------------- RDIR=/data1/logs TODAY="`date '+%b %d'`" ssh -i $userid@$host "grep -il "ERROR" `ls -l $RDIR|grep "$TODAY" |awk '{print $NF}'` 2>/dev/null|wc -l" ----------------------------... 27 Apr 2010 23:32
Parsing command line from within a function
Hi, I'm writing a script (ksh88) which is very modular, with a number of function definitions, then a main section which "glues it all together". One of these functions is to parse the command line for arguments. Here is an excerpt: #=================================================================== func... 29 Apr 2010 19:13
First  |  Prev |  Next  |  Last
Pages: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36