In MS Word 2003, I'm writing a document that involves linking to two Excel spreadsheets.
\\bp1ldcvi012\darren$\WORK\Migration\Apps.xls
\\bp1ldcvi012\MISC2\Apps Support Team\Middle Office\_General\Supported Apps.xls
These links work as I create them (I can ctrl-click them and the spreadsheets...
I am writing a script that:
- does an rsh to various unix boxes, and on each one...
- list the files in a given directory that begin with certain letters
I currently do it the following way, which seems like a cludge and I was hoping if any of you had a better suggestion?
I use
"find * -prune...
Hi,
I'm using ksh and am analysing reports which have fixed column widths (candidate for the cut command).
The values in that particular column might not be as wide as the column, so
VALUE=$(cut -c10-25 file)
might set VALUE="GB 123 ABC G "
and what I want is VALUE="GB 123 ABC G"
(so I want...
I'm testing for the existence of files that begin with, say, "gene" and have 8 characters in the filename.
So gene????
This will not work:
if [[ -f gene???? ]]
because [[/]] does not allow wildcard expansion.
So I'm currently using
if [ -f gene???? ]
But it would be nice to keep this test...
In line with Ferherke's tip to try to get nawk to do as much work as possible, I replaced:
OUT_TEXT_DATE=$(grep 'AP BALANCES AS AT' $FILE_NAME | nawk '{print $6} | head -1'
with
OUT_TEXT_DATE=$(nawk '/AP BALANCES AS AT/{print $6}' $FILE_NAME | head -1)
(I'm not a nawk person so I'm learning...
Hi,
I have the following input:
* Report Title ******** Thu 26 Apr, 2007 6:00 AM *
<rest of report snipped>
I need to extract the date from this line
I'm using:
OUT_TEXT_DATE=$(head -1 $FILE_NAME| nawk '{print $6, $7, $8}')
Which produces:
"26 Apr, 2007"
I'm looking for an elegant(1)...
Hi!
I have the following ASCII file, which is a report output from another system, in a spool directory in Unix:
<lines above snipped>
Amount One Amount Two Amount Three
---------- ---------- ------------
1000.00 2000.00 3000.00
<lines below snipped>
What I need my korn...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.