write a shell script that accepts a file name starting and ending line numbers as arguments and displays all the lines between the given line numbers:b:.help is appreciated.thank you. (3 Replies)
I have a file which has about 10000 records and I need to delete about 50 records from the file. I know line numbers and am using
sed '134,1357,......d' filename > new file.
It does not seem to be working.
Please Advice (5 Replies)
I have to find the number of rows in a file and delete those many rows in another file.
For example, if I have 3 rows in a file A, i have to delete first 3 rows in anothe file B,
I have the code, it works as standalone, when I merge this with m application (c with unix), it doesnt work.
... (2 Replies)
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt
0 80282 Severe myopia contributed to Ron's inferiority complex.
train/dr4/fklc0/sx355.txt
0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
awk 'NR%2==0' test1.txt >... (4 Replies)
hello everyone
my file contains many records, the following is a sample:
BEGIN
ASX1500000050002010120000000308450201012000177
ASX1100002000000201012000000038450201012000220
ASX1600100005000201012000000038450020101200177
ASX1900100006000201067000000058450020101200177... (2 Replies)
We are using Red Hat Linux.
I have a flat file with among other things, the following lines, which appear occasionally throughout the file:
Using sed, I delete this line:
L;L;L;L;R;R;R;L;R;L;R;R;R;L;L;L
With:
/^;;;;;*/d
Works fine every time.
However, I cannot delete... (6 Replies)
Hi ,
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
Hi All,
I want to keep the name of the songs with their respective extensions only.
Sample Code
========
03 Choti choti gaiya choti choti gaval.mp3
03---Brazil Dhol.mp3
03 PAYALIYA .mp3
04 - Isq Risk .mp3
04%20-%20Oh%20My%20Love(wapking.in).mp3
08 - A2 - Aasan Nahin Yahan .mp3
AE... (3 Replies)
Discussion started by: Pramod_009
3 Replies
LEARN ABOUT DEBIAN
gifpos
gifpos(1) General Commands Manual gifpos(1)NAME
gifpos - A program to change GIF screen size and/or reposition images. No test is made to make sure changes will generate valid GIF files
(i.e. images are still confined to screen etc.)
USAGE
gifpos [-q] [-s Width Height] [-i Left Top] [-n n Left Top] [-h] gif-file
If no gif-file is given, GifPos will try to read a GIF file from stdin.
MEMORY REQUIRED
Line.
OPTIONS
[-q]
Quiet mode. Default off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert.
[-s Width Height]
Set the new screen dimensions, so for example `-s 1000 800' will set screen to width of 1000 and height of 800.
[-i Left Top]
set image relative to screen position, so for example `-i 100 80' will set image left position to 100 and top position to 80. This
sets the position of the first image only.
[-n n Left Top]
set image n relative to screen position, so for example '-n 3 100 80' will set the third image position as in 2.
[-h]
Print one line of command line help, similar to Usage above.
AUTHOR
Gershon Elber
Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com>
giflib-tools gifpos(1)