Hello,
A basic query. How can I remove a string from a specific column.
For example, remove "abcd" just from column 2 in example file:
abcd abcd1
abcd abcd2
abcd abcd3
to get output:
abcd 1
abcd 2
abcd 3
Thank you!:) (4 Replies)
Hi,
I am new to shell scripting, i have requirement can any one help me out in this regrads,
in directory i have file like invoice1.txt, invoice2.txt in each file i have fixed number of columns, 62 in number but they are randomly arranged.like
for first file invoice1.txt can have columns... (5 Replies)
Hello ,
i have a text file like this :
A123 c12AB c32DD aaaa
B123 23DS 12QW bbbb
C123 2GR 3RG cccccc
i want to remove the numbers from second and third column only.
i tried this :
perl -pe 's///g' file.txt > newfile.txt
but it will remove the number from... (7 Replies)
Hi,
I need help to remove tab delimited space in the $2 of a specific row. My file is like this:-
file1.txt
No_1 4 139 156
No_1 5 161 205
No_4 91 227 212
No_19 254 243 263
No_19 645 249 258
No_19 101 2492 2635
No_90 8 277 288... (5 Replies)
Hi,
I would like to ask your expertise to remove specific column no. 8 in the below file using but I don't have an idea on how to simply do this using awk command. Appreciate your help in advance.
Input f:
ABC 1 1XC
CDA 1 2YC
CCC 1 3XC
AVD 1 3XA
Expected output file:
ABC 1 1C
CDA... (9 Replies)
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Hi All,
I have a file with a pipe delimiter. I need to replace the delimiter with html tags.
I managed to get all the delimiters replaced along with first and last but the requirement is that I need to change 7th delimiter with slight change.
File1:
... (2 Replies)
Hello All,
we have some 10 files wherein we are using the ASCII NULL as separator which is nothing but '^@' and we need to change it to pipe delimited file before loading to database. Most of the data seems to be fine but there are instances where this separator tends to appear in the middle of... (9 Replies)
I need to remove specific column to one range
source file
3 1 000123456
2 2 000123569
3 3 000123564
12 000123156
15 000125648
128 000125648
Output required
3 000123456
2 000123569
3 000123564
12 000123156
15 000125648
128 000125648 (6 Replies)
Discussion started by: ranjancom2000
6 Replies
LEARN ABOUT NETBSD
getbuildlog
GETBUILDLOG(1) General Commands Manual GETBUILDLOG(1)NAME
getbuildlog - download build logs from Debian auto-builders
SYNOPSIS
getbuildlog package [version-pattern] [architecture-pattern]
DESCRIPTION
getbuildlog downloads build logs of package from Debian auto-builders. It downloads build logs of all versions and for all architectures if
version-pattern and architecture-pattern are not specified or empty, otherwise only build logs whose versions match version-pattern and
build logs whose architectures match architecture-pattern will be downloaded. The version and architecture patterns are interpreted as
extended regular expressions as described in grep(1).
If version-pattern is "last" then only the logs for the most recent version of package found on buildd.debian.org will be downloaded.
If version-pattern is "last-all" then the logs for the most recent version found on each build log index will be downloaded.
OPTIONS -h, --help
Show usage information and examples.
-V, --version
Show version and copyright information.
EXAMPLES
getbuildlog hello 2.2-1 amd64
Download amd64 build log for hello version 2.2-1.
getbuildlog glibc "" mips.*
Download mips(el) build logs of all glibc versions.
getbuildlog wesnoth .*bpo.*
Download all build logs of backported wesnoth versions.
AUTHOR
Written by Frank S. Thomas <fst@debian.org>.
DEBIAN Debian Utilities GETBUILDLOG(1)