Hi,
I have a huge file & I want to add a specific text in column. But I want to add this text from a specific line number to a specific line number & another text in to another range of line numbers.
To be more specific: lets say my file has 1000 lines & 4 Columns. I want to add text "Hello"... (2 Replies)
Hi,
I am using below command to display the number of line, but its returning no of lines along with file name.
But i want only no of line in the variable p.
Please help me on this?
p=`wc -l "text file"`
echo "$p" (6 Replies)
I having file below o/p
ibapp311dg,,20480,s,,,,,,,,,
test,,20480,s,,,,,,,,,
test,,20480,s,,,,,,,,,
ibapp311dg,,20480,s,,,,,,,,,
I want to to chk unique word line in the first field seperated by , as well as addup corressponding the number in field for each unique word like
ibapp311dg... (8 Replies)
Hello
Wondering if anybody may be able to advise on how I can filter the contents of the following file:
<object_name>-<version> <Instance>
GM_GUI_code.fmb-4 1
GM_GUI_code.fmb-5 1
GM_GUI_code.fmx-4 ... (7 Replies)
Hello Everyone.
I am trying to display contains of a file from a specific line to a specific line(let say, from line number 3 to line number 5). For this I got the shell script as shown below:
if ; then
if ; then
tail +$1 $3 | head -n $2
else
... (5 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
I want to delete a line from a txt file for which the line number is user input. Say when user selects 19, the 19th line would be deleted from the file. Can anyone please provide me with a sed one liner for the same... I tried sed -i. The interaction would be like this
Enter the line to... (1 Reply)
Given a file like this:
abc
def
ghi
I need to get to
somestandardtext abc1 morestandardtext
somestandardtext def2 morestandardtext
somestandardtext ghi3 morestandardtext
Notice that in addition to the standard text there is the line number added in as well. What I conceived is... (4 Replies)
Hi all,
I have 20 files (file001.txt upto file020.txt) and I want to read them from 3rd line upto end of file (line 1002). But in the final file they should appear to start from line 1.
I need following kind of output in a single file:
Filename Line number 2ndcolumn 4thcolumn
I... (14 Replies)
Discussion started by: bioinfo
14 Replies
LEARN ABOUT DEBIAN
nyancat
NYANCAT(1) General Commands Manual NYANCAT(1)NAME
nyancat - terminal-based Pop Tart Cat animation
SYNOPSIS
nyancat [ -hitn ] [-f frames]
DESCRIPTION
nyancat is an animated, color, ANSI-text program that renders a loop of the classic Nyan Cat animation.
nyancat makes use of various ANSI escape sequences to render color, or in the case of a VT220, simply dumps text to the screen.
OPTIONS -i, --intro
Show introduction / about information on startup.
-t, --telnet
Enable telnet mode.
-n, --no-counter
Do not display the timer.
-s, --no-title
Do not set the titlebar text.
-e, --no-clear
Do not clear the display between frames.
-f, --frames
Display the requested number of frames, then quit.
-r, --min-rows
Crop the animation from the top.
-R, --max-rows
Crop the animation from the bottom.
-c, --min-cols
Crop the animation from the left.
-C, --max-cols
Crop the animation from the right.
-W, --width
Crop the animation to the given width.
-H, --height
Crop the animation to the given height.
-h, --help
Show help message and exit.
HOMEPAGE
Homepage: http://miku.acm.uiuc.edu/
Repository: https://github.com/klange/nyancat
AUTHOR
nyancat was written by Kevin Lange.
This manual page was written by Jonathan McCrohan <jmccrohan@gmail.com>, for the Debian project (and may be used by others).
May, 2012 NYANCAT(1)