Register
It is currently Tue Sep 23, 2014 10:23 pm

released a revision control tool "rcss"


All times are UTC - 6 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Mon Jul 28, 2014 1:03 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 667
Location: Des Moines, Iowa
While I realize the audience will be limited, today I released a revision control tool "rcss", on sourceforege and github.

https://github.com/linuxnut/rcss
https://sourceforge.net/projects/rcss/

"rcss" is basically a wrapper around the rcs utility.
It is designed to simplify rcs and add features to make rcs easy to use.

I wrote an article on RCS years ago for an archlinux monthly newsletter, if you don't know what RCS is, then it might be useful: http://archlinux.me/crouse/2009/08/07/r ... ol-system/


Top
 Profile WWW  
 PostPosted: Mon Jul 28, 2014 10:38 pm   

Joined: Mon Mar 02, 2009 3:03 am
Posts: 548
hi,

why do you set an array (${args[@]}) to store "$@", instead of using positionnal parameter ($1,$2...)?


Top
 Profile  
 PostPosted: Tue Jul 29, 2014 12:21 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 667
Location: Des Moines, Iowa
I was already testing with

if [[ ${#args[@]} != 1 ]]; then

Just seemed like a natural extension of that and seemed clear that they were all just part of the arguments string that way to me.
Seemed like working with the array was just cleaner.

I guess I could have tested with $# as well as used $1 $2 etc, it was just a personal preference thing for me. Something also sticks in my mind about the "$@" handling files with spaces easier/better...


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP