I'd avoid renaming pico or anything. If you really want to override pico itself, you could make it an alias like alias pico=/usr/local/sbin/picoc.sh But it sounds like he wants to just type it as picoc.
It goes through the list of arguments "$@", and for each file that doesn't exist, dumps the header into it.
This will cause some difference from normal pico behavior: It will create brand new files whether the pico user saves them or not. And it won't support commandline switches properly. To do that you'd have to brute-force parse each parameter one by one and decide what it means and whether it's a file the hard way -- by exacting the same as pico.
Last edited by Corona688; 03-08-2011 at 06:05 PM..
hello
iam so new to unix / apache what is the dif between VI and PICO where can i get hands on training with both in Los Angeles any ideas would be helpfull.
thanx whothought (5 Replies)
I was wondering if there is any way to get a version of pico for windows. I have done a lot of programming work on Linux/UNIX exvironments for school, and I enjoy using pico for my programming needs, but I find all of the text editors in windows horrible, they distort my code and do not adhere to... (5 Replies)
Quick question for all of you Unix gurus. What are your thoughts on Pico as an editor. I have been using this editor for the last week or so and have made a lot of headway with my script writing. However, I find a lot of the quirks associated with this editor to be quite annoying. For instance,... (1 Reply)
Hi there,
I have more that 300 servers that I need to updated the comments field on /etc/passwd for users that have a blank comments fields. The users have accounts on different servers. I have created a list of these users on a text file called update_passwd.txt.
I need a script that will... (6 Replies)
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Hi all,
I downloaded an external program and extracted all the files to a folder. they have a make file which I have to run. But when I run make file I get an error
g++ -O2 -c pgm.cpp
make: g++: Command not found
make: *** Error 127
When I checked the list of GCC I get this
binf-01... (14 Replies)
Hello!
Please, can someone make me clear the difference betveen and interactive and non-interactive test editor?
(is not each editor somehow "interactive"???)
Many thanks!!! (0 Replies)
Discussion started by: pinklemon
0 Replies
LEARN ABOUT SUSE
irssi
Irssi(1) General Commands Manual Irssi(1)NAME
Irssi - a modular IRC client for UNIX
SYNOPSIS
irssi [-dv!?] [-c server] [-p port] [-n nickname] [-w password] [-h hostname]
DESCRIPTION
Irssi is a modular Internet Relay Chat client. It is highly extensible and very secure. Being a fullscreen, termcap based client with many
features, Irssi is easily extensible through scripts and modules.
OPTIONS --config=FILE
use FILE instead of ~/.irssi/config.
--home=PATH
PATH specifies the home directory of Irssi. Default is ~/.irssi
-c, --connect=SERVER
connects to SERVER
-w, --password=PASSWORD
use PASSWORD for authentication.
-p, --port=PORT
automatically connect to PORT on server.
-!, --noconnect
disables autoconnecting.
-n, --nick=NICKNAME
specify NICKNAME as your nick.
-h, --hostname=HOSTNAME
use HOSTNAME for your irc session.
-d, --dummy
use dummy terminal mode.
-v, --version
display the version of Irssi.
-?, --help
show a help message.
--usage
display brief usage message.
SEE ALSO
Irssi has been supplied with a huge amount of documentation. Check /help or look at the files contained by /usr/share/doc/irssi*
FILES
/etc/irssi.conf
Global configuration file
~/.irssi/config
Personal configuration file
~/.irssi/config.autosave
Automatic save of the personal config file when it was changed externally
~/.irssi/default.theme
Default irssi theme
~/.irssi/away.log
Logged messages in away status
/usr/share/irssi/help/
Directory including many help files
/usr/share/irssi/scripts/
Global scripts directory
/usr/share/irssi/themes/
Global themes directory
~/.irssi/scripts/
Default scripts directory
~/.irssi/scripts/autorun/
Directory containing links to scripts that should be loaded automatically on startup
~/.irssi/startup
File containing a list of commands to execute on startup
AUTHORS /CREDITS
Irssi was written by Timo Sirainen <cras@irssi.org>
This manpage was written by Istvan Sebestyen <stevee@alphanet.ch> and Stefan Tomanek <stefan@pico.ruhr.de>
Irssi IRC client September 2002 Irssi(1)