Hi all,
Am trying to execute a loop but having some troubles...
Files that will be query'd use the Julian date (eg: cpu032, cpu365) in their naming convention.
I'm a little lost how to maintain the three character format of the numeric portion of the file name while cycling backwards(or... (13 Replies)
unix program to which a directory name will be passed as
parameter. This directory will contain files with various
extensions. This script will create directories with the names of the
extention of the files and then put the files in the
corresponding folder. All files which do not have any... (2 Replies)
Hi,
I am a newbie to the UNIX world. I am asked to edit the file in hexadecimal format and save it. Later I should be able to print the file in char mode.
please anyone tell me how to do that mostly using VI editor. (1 Reply)
Hi all,
I have a file with 3 columns separated by space. Each column has a heading. I want to sort according to the values in the 2nd column (ascending order).
Ex.
Name rank direction
goory 0.05 --+
laby 0.0006 ---
namy 0.31 -+-
....etc.
Output should be
Name rank direction
laby... (3 Replies)
Currently I have the following to separate the numeric values. However the decimal point get separated.
ls -lrt *smp*.cmd | awk '{print $NF}' | sed 's/^.*\///' | sed 's/\(*\)/ & /g'
As an example on the files
n02-z30-dsr65-terr0.50-dc0.05-4x3smp.cmd... (8 Replies)
I have a text file that has data like:
Data "12345#22"
Fred
ID 12345
Age 45
Wilma
Dino
Data "123#22"
Tarzan
ID 123
Age 33
Jane
I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes:
Data "1012345#22"
Fred
ID... (16 Replies)
Hi All,
I am trying write a simple command using AWK and SED to this but without any success.
Here is what I am using:
head -1 test1.txt>test2.txt|sed '1d;$d' test1.txt|awk '{print substr($0,0,(length($0)-2))}' >>test2.txt|tail -1 test1.txt>>test2.txt
Input:
Header
1234567
abcdefgh... (2 Replies)
Hi Unix Gurus,
I need to grep for a block that is between a start and end keyword and then in between I need to find and replace a keyword.
for eg: I need to search between Test = 000; and Test = 000; and find K9 and replace with M9
INPUT FILE
Define {
Replace = K9;
Test =... (6 Replies)
Hello friends,
I have a file with duplicate lines. I could eliminate duplicate lines by running
sort <file> |uniq >uniq_file and it works fine BUT it changes the order of the entries as it we did "sort".
I need to remove duplicates and also need to keep the order/sequence of entries. I... (1 Reply)
I have 2 input files (tab separated):
file1:
make_A 1990 foo bar
make_B 2010 this that
make_C 2004 these those
file2:
make_X 1970 1995 ref_1:43 ref_2:65
make_A 1970 1995 ref_1:4 ref_2:21 ref_3:18
make_A 1980 2002 ref_1:7 ref_2:7 ref_3:0 ... (2 Replies)
Discussion started by: beca123456
2 Replies
LEARN ABOUT SUSE
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).
August 23, 2007 version 2.0.0 RNANO(1)