08-03-2005
Sorry vino, the sh man page on my system does not show anything about Arithmetic Expansion. May be its not supported on SunOS 5.8?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Still a newbie and learning as I go ... as you do :)
Have created this script to report on disc usage and I've just included the ChkSpace function this morning.
It's the first time I've read a file (line-by-bloody-line) and would like to know if I can improve this script ?
FYI - I... (11 Replies)
Discussion started by: Cameron
11 Replies
2. UNIX for Dummies Questions & Answers
hi someone tell me which ways i can improve disk I/O and system process performance.kindly refer some commands so i can do it on my test machine.thanks, Mazhar (2 Replies)
Discussion started by: mazhar99
2 Replies
3. IP Networking
I have a 10Gbps network link connecting two machines A and B. I want to transfer 20GB data from A to B using TCP. With default setting, I can use 50% bandwidth. How to improve the throughput? Is there any way to make throughput as close to 10Gbps as possible? thanks~ :) (3 Replies)
Discussion started by: andrewust
3 Replies
4. AIX
I just wrote a very small script that improves readability on system sulog. The problem with all sulog is there is lack of clarity whether the info you are looking at is the most current. So if you just need a simple soution instead of going thru the trouble of writing a script that rotate logs and... (0 Replies)
Discussion started by: sparcguy
0 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
i wrote a script to convert dates to the formate i want .it works fine but the conversion is tkaing lot of time . Can some one help me tweek this script
#!/bin/bash
file=$1
ofile=$2
cp $file $ofile
mydates=$(grep -Po '+/+/+' $ofile) # gets 8/1/13
mydates=$(echo "$mydates" | sort |... (5 Replies)
Discussion started by: vikatakavi
5 Replies
6. Shell Programming and Scripting
Dear all,
I have written two scripts to transfer files to another server outside the company.
One is a batch script , and the other script calls the batch script, send the files and archive the file sent.
The problem is, that I want to get the list of files which have been uploaded the the... (10 Replies)
Discussion started by: arrals_vl
10 Replies
7. Shell Programming and Scripting
Gents.
I have 2 different scripts for the same purpose:
raw2csv_1
Script raw2csv_1 finish the process in less that 1 minute
raw2csv_2
Script raw2csv_2 finish the process in more that 6 minutes.
Can you please check if there is any option to improve the raw2csv_2. To finish the job... (4 Replies)
Discussion started by: jiam912
4 Replies
8. Programming
Hello,
Attached is my very simple C++ code to remove any substrings (DNA sequence) of each other, i.e. any redundant sequence is removed to get unique sequences. Similar to sort | uniq command except there is reverse-complementary for DNA sequence. The program runs well with small dataset, but... (11 Replies)
Discussion started by: yifangt
11 Replies
9. Shell Programming and Scripting
Gents,
Is there the possibility to improve this script to be able to have same output information.
I did this script, but I believe there is a very short code to get same output
here my script
awk -F, '{if($10>0 && $10<=15) print $6}' tmp1 | sort -k1n | awk '{a++} END { for (n in a )... (23 Replies)
Discussion started by: jiam912
23 Replies
10. OS X (Apple)
Hi everyone!
This is my first post here, I hope that I will not already be violating any rule! I also would like to apologize in advance as my post will definitely be a noob post... please have patience and faith :rolleyes:!
Now that I have set the ground rules :D:D, my objective is trying... (39 Replies)
Discussion started by: Ardzii
39 Replies
mhc(1) General Commands Manual mhc(1)
NAME
today - Show your today's schedules.
SYNOPSIS
today [options]
DESCRIPTION
This manual page documents briefly the today commands. This manual page was written for the Debian GNU/Linux distribution because the
original program does not have a manual page.
today is a program that show your schedules in MHC repository.
OPTIONS
A summary of options is included below.
-h, --help
Show summary of options.
--format=FORMAT
change output format. FORMAT is 'html' or 'ps.
--category=CATEGORY
Pick only in CATEGORY. '!' and space separated multiple values are allowed.
--date=strig[+n]
Set a period of date. String is one of these: today, tomorrow, sun ... sat, yyyymmdd, yyyymm. yyyymm lists all days in the month.
list n+1 days of schedules if +n is given. default value is 'today+0'
--mail=ADDRESS
Send a e-mail to ADDRESS instead of listing to stdout
SEE ALSO
adb2mhc(1), gemcal(1), mhc-scan(1), mhc2palm(1), palm2mhc(1), mhc(5).
AUTHOR
This program was written by Yoshinari Nomura <nom@quickhack.net> and this manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>,
for the Debian GNU/Linux system (but may be used by others).
23 Jun 2000 mhc(1)