The array method works fine, but sed method uses less characters and is easier to read. Also it does support indenting, it would just need to be modified to sed '1d;$d;s/ //' or similar. |
||
---|---|---|
README.md | ||
apt-cyg | ||
apt-msys2 |
README.md
apt-cyg
apt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-get. Usage examples:
apt-cyg install <package names>
to install packagesapt-cyg remove <package names>
to remove packagesapt-cyg update
to update setup.iniapt-cyg list [pattern(s)]
to list packages matching given pattern. If no pattern is given, list all installed packages.apt-cyg show <pattern(s)>
to show packages matching patternsapt-cyg search <commands or files>
to locate parent packages
Quick start
apt-cyg is a simple script. Once you have a copy, make it executable:
chmod +x /bin/apt-cyg
Optionally place apt-cyg in a bin/ folder on your path.
Then use apt-cyg, for example:
apt-cyg install nano
Contributing
This project has been re-published on GitHub to make contributing easier. Feel free to fork and modify this script.
The Google Code project also has a list of open issues.
Changelog
[2013-10-23] added multiarch support, autor: https://github.com/aguynamedryan/apt-cyg
[2013-10-23] added xz archives support, autor: ernierasta