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)
using sed to replace a specific string on a specific line number using variables
this is where i am at
grep -v WARNING output | grep -v spawn | grep -v Passphrase | grep -v Authentication | grep -v '/sbin/tfadmin netguard -C'| grep -v 'NETWORK>' >> output.clean
grep -n Destination... (2 Replies)
Hi,
I'm genrating a file from sql and the file looks like :
$value1=A
$value2=B
$value3=
$value4=
$value5=C
I want to delete those two lines which has Null after '='. Could you please guide me how to do it either using sed or awk ? (9 Replies)
I'm looking for a way to search a file, in this case init.rc for a specific match, service adbd /sbin/adbd, and delete the a specific line after it
Original:
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
disabled
After deletion:
#... (5 Replies)
Hello.
My file is like this:
a
b
c
d
e
f
g
h
i
I want to delete all lines after the 3rd line, means after the "c". Is there any way to do this? The lines differ between them and the lines I want to delete does not have a specific word, or the lines I want to keep (a,b,c) does not have a... (4 Replies)
Hi guys,
is there a way to delete a line from a text file by providing a line number for the line I want to remove?
I work in ksh88...
Thanks a lot (3 Replies)
Hi, I'm totally new to awk, so thanks in advance for your help.
I want to make a csv file out of a text file I've exported from a database I want to do two things:
1. Change pipes ("|") to commas (",") to make a text file into CSV
2. Remove the second line of the file, which is useless junk. ... (3 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Dear Specialists,
I have following data
1 1 2
2 2 3
3 3 6
4 3 4
5 4 9
6 5 11
7 6 7
and I would like to obtain data like below
1 1 2
2 2 3
4 3 4
7 6 7 (2 Replies)
Discussion started by: Ryan Kim
2 Replies
LEARN ABOUT DEBIAN
abootimg
ABOOTIMG(1) General Commands Manual ABOOTIMG(1)NAME
abootimg - manipulate Android Boot Images.
DESCRIPTION
Tool to read/write/update android boot images
SYNOPSIS
abootimg
-i <bootimg>
abootimg
-x <bootimg> [<bootimg.cfg> [<kernel> [<ramdisk> [<secondstage>]]]]
abootimg
-u <bootimg> [-c "param=value"] [-f <bootimg.cfg>] [-k <kernel>] [-r <ramdisk>] [-s <secondstage>]
abootimg
--create <bootimg> [-c "param=value"] [-f <bootimg.cfg>] -k <kernel> -r <ramdisk> [-s <secondstage>]
OPTIONS -i print boot imgage informations
-x Extract a boot image
-u Update a boot image
--create
Create a boot image
Options for extracting boot images
bootimg
Existing bootimage to use
bootimg.cfg
Name for the bootimg.cfg file, defaults to bootimg.cfg
kernel Name for the kernel image, defaults to zImage
ramdisk
Name for the ramdisk image, defaults to initrd.img
secondstage
Name for the second-stage image, defaults to stage2.img
Options for updating and creating boot images
bootimg
Existing bootimage to use
-c param=value
Existing bootimage to use
-f <bootimg.cfg>
Update bootimg.cfg with the named file
-k <kernel>
Update kernel with the named file
-r <ramdisk>
Update ramdisk with the named file
-s <secondstage>
Update secondstage image with the named file
ABOOTIMG(1)