09-02-2018
Let me put it this way - I appreciate your code reply.
It does the job.
Please - In future limit your replies to facts.
I do not discuss "what I am doing" unless it has a bearing on the problem.
I do try to be as descriptive as I know and believe more info is better that less.
I do have an issue with inquisitive reply especially with comments on form / format.
I used to frequent a forum where "administrators wannabes"aways complained about "the code is not in code tags". In my view such attitude is naive and has a simple solution - if the post is "unreadable " etc. simply DO NOT REPLY.
To make sure _ I am NOT unloading on you , just letting you know how I feel.
Perhaps even after my sermon you would be kind enough to explain the syntax you used.
My "nano" text editor is not too trilled with it, but it works!
10 More Discussions You Might Find Interesting
1. HP-UX
I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Discussion started by: astout
2 Replies
2. UNIX for Advanced & Expert Users
Hi Gurus,
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to a@a.com
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
Discussion started by: nimu1979
6 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I'm trying to send a file to a remote host on a DG/UX system connected directly to a serial port of a computer, but every time I try to send the file, the remote host cannot recieve it (the download screen hangs, some wierd characters are displayed when I type the rz command).
I tried... (1 Reply)
Discussion started by: danceofillusion
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
Here is my script:
#!/bin/bash
set -x
dir="/var/local/dsx/import"
gawk -F, '
$1 == last1 && $2 == last2 {
printf $0"\n" >> $dir/$2
}
$1 !=last1 || $2 != last2 {
printf $0"\n" >> $dir/$2
}
{
last1=$1
last2=$2
} (11 Replies)
Discussion started by: ladyAnne
11 Replies
5. UNIX for Dummies Questions & Answers
Help me. .i want to send a file from one terminal to another terminal . .how to do that???
thnx in advance . .:) (2 Replies)
Discussion started by: Nagaraju.s
2 Replies
6. Shell Programming and Scripting
Hi everyone
I have one question about using array in perl. let say I have several log file in one folder.. example
test1.log
test2.log
test3.log
and the list goes on..
how to make an array for this file? It suppose to detect log file in the current directory and all the log file will... (3 Replies)
Discussion started by: sayachop
3 Replies
7. Shell Programming and Scripting
ok, so here is the issue, I have 2 arrays.
I need to be able to create a loop that will find ${ARRAY1 in the text doc, and replace it with ${ARRAY2 then write the results. I already have that working. The problem is, I need it to do that same result across however many items are in the 2... (2 Replies)
Discussion started by: gentlefury
2 Replies
8. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
I am new to unix scripting and wanted to know, is it possible if we find any null value or blank record in the text file.
For example we have a text file with only one column and there are 90 records.
But some times we will have a null value or blank row record in the text file.
I... (4 Replies)
Discussion started by: Ram11111
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,
This is the content of a file name "test.sh":
#!/bin/bash
if ; then
echo "I am Here"
fi
When runing the command:
./test.sh chair table
The echo command "I am Here" will appear only based on the second value, in other words only if the there is no file name "table" regardless if... (1 Reply)
Discussion started by: uniran
1 Replies
LEARN ABOUT OPENSOLARIS
rnano
RNANO(1) General Commands Manual RNANO(1)
NAME
rnano - Restricted mode for Nano's ANOther editor, an enhanced free Pico clone
SYNOPSIS
rnano [OPTIONS] [[+LINE,COLUMN] FILE]...
DESCRIPTION
This manual page briefly documents the rnano command.
nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than
just copying Pico's look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and
replace" and "go to line and column number".
rnano is a restricted version of nano, which only edits specific files and doesn't allow the user access to the filesystem or a command
shell.
In restricted mode, nano will not:
o read or write to any file not specified on the command line;
o read any nanorc files;
o allow suspending;
o allow a file to be appended to, prepended to, or saved under a different name;
o use backup files or spell checking.
OPTIONS
+LINE,COLUMN
Places cursor at line number LINE and column number COLUMN (at least one of which must be specified) on startup, instead of the
default of line 1, column 1.
-? Same as -h (--help).
-h (--help)
Show a summary of command line options and exit.
-V (--version)
Show the current version number and exit.
See the nano(1) manpage for the complete documentation of nano.
BUGS
Please send any comments or bug reports to nano@nano-editor.org.
The nano mailing list is available from nano-devel@gnu.org.
To subscribe, email to nano-devel-request@gnu.org with a subject of "subscribe".
HOMEPAGE
http://www.nano-editor.org/
AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details). This manual page was originally written by Thijs Kinkhorst
<thijs@kinkhorst.com>, for the Debian system (but may be used by others).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWgnu-nano |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for GNU nano is available on http://opensolaris.org.
August 23, 2007 version 2.0.0 RNANO(1)