Sponsored Content
Top Forums Shell Programming and Scripting Feedback on "withsome" open source project Post 302987975 by ronaldxs on Monday 19th of December 2016 08:49:54 AM
Old 12-19-2016
Wrench Feedback on "withsome" open source project

I have been developing an open source UNIX project for a few years and am looking for feedback on whether further development of the "withsome" project is of interest to other programmers.

One simple example to give an idea of the project is:
Code:
     withsome ./pugs vi Pugs.pm
     1) ./pugs/lib/Inline/Pugs.pm
     2) ./pugs/lib/Perl6/Pugs.pm
     3) ./pugs/blib/lib/Inline/Pugs.pm
     4) ./pugs/blib/lib/Perl6/Pugs.pm
     5) ./pugs/inc/Module/Install/Pugs.pm
     A) * All of the above
     Indicate your selection(s) from the above or 0 for none (default 1): 1 4
     (    giving 1 and 4 as inputs and pressing enter runs vi on:
              ./pugs/lib/Inline/Pugs.pm
              ./pugs/blib/lib/Perl6/Pugs.pm                  )

The program sort of combines find, xargs and a select menu (but with multi-select). Fairly complete documentation may be found on the project GitHub home page GitHub - ronaldxs/withsome: withsome - with some file name run a command on matching nearby files. Again I am interested on feedback on whether readers think this is a useful new(ish) idea for CLI use, or have seen better existing solutions, or have other objections. If the project is seen to be of interest I would also be interested in other forums or sites where I could post questions about it.

The project goes back a few years, was developed with limited resources, and it is understood that some of the shell coding has room for improvement. Also the project started development before bash adoption of globstar (** globbing).

Many thanks to anyone with feedback ...
 
projdel(1M)						  System Administration Commands					       projdel(1M)

NAME
projdel - delete a project from the system SYNOPSIS
projdel [-f filename] project DESCRIPTION
The projdel utility deletes a project from the system and makes the appropriate changes to the system file. OPTIONS
The following options are supported: -f filename Specify the project file to modify. If no filename is specified, the system project file, /etc/project, is modified. OPERANDS
The following operands are supported: project The name of the project to be deleted. EXIT STATUS
The following exit values are returned: 0 Successful completion. 2 The command syntax was invalid. A usage message for projdel is displayed. 3 An invalid argument was provided to an option. 4 The projid given with the -p option is already in use. 5 The project files contain an error. See project(4). 6 The project to be modified, group, user, or resource does not exist. 9 The project is already in use. 10 Cannot update the /etc/project file. FILES
/etc/project System project file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ |Interface stabilty | See below. | +-----------------------------+-----------------------------+ Invocation is evolving. Human readable output is unstable. SEE ALSO
projects(1), groupadd(1M), groupdel(1M), groupmod(1M), grpck(1M), logins(1M), projadd(1M), projmod(1M), useradd(1M), userdel(1M), user- mod(1M), project(4), attributes(5) DIAGNOSTICS
In case of an error, projdel prints an error message and exits with a non-zero status. NOTES
projdel deletes a project definition only on the local system. If a network name service such as NIS or LDAP is being used to supplement the local /etc/project file with additional entries, projdel cannot change information supplied by the network name service. SunOS 5.11 4 May 2004 projdel(1M)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy