04-09-2013
I forgot to mention it's a SunOS m/c
Thanks Corona for the prompt reply, appreciate it.
I forgot to mention the details of my OS which is SunOS. So I think the sed options might differ.
For this one "-i" is not recognized as a legal option.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
There are multiple files like
file1_11
file2_11
file3_11.....and so on.
How to rename them such tht the suffix _11 is removed and they become file1, file2, file3.
Any help is appreciated.
Regards
er_ashu (1 Reply)
Discussion started by: er_ashu
1 Replies
2. Shell Programming and Scripting
FileA
chr1 31237964 NP_001018494.1 PUM1 M340L
chr1 31237964 NP_055491.1 PUM1 M340L
chr1 33251518 NP_037543.1 AK2 H191D
chr1 33251518 NP_001616.1 AK2 H191D
chr1 57027345 NP_001004303.2 C1orf168 P270S
FileB
chr1 ... (9 Replies)
Discussion started by: genehunter
9 Replies
3. Shell Programming and Scripting
Hi All,
I have multiple (5+) text files with single columns and I would like to grep the common values across all the text files and parse it to a new file. All the values are numerical. Please let me know how to do it using awk. (6 Replies)
Discussion started by: Lucky Ali
6 Replies
4. UNIX for Dummies Questions & Answers
I am trying to extract common list of Organisms from different files
For example I took 3 files and showed expected result. In real I have more than 1000 files. I am aware about the useful use of awk and grep but unaware in depth so need guidance regarding it.
I want to use awk/ grep/ cut/... (7 Replies)
Discussion started by: macmath
7 Replies
5. Shell Programming and Scripting
Hello everyone
A few years Ago the user radoulov posted a fancy solution for a problem, which was about finding common lines (gene variation names) between multiple samples (files). The code was:
awk 'END {
for (R in rec) {
n = split(rec, t, "/")
if (n > 1)
dup = dup ?... (5 Replies)
Discussion started by: bibb
5 Replies
6. Shell Programming and Scripting
I have this code
awk 'NR==FNR{a=$1;next} a' file1 file2
which does what I need it to do, but for only two files. I want to make it so that I can have multiple files (for example 30) and the code will return only the items that are in every single one of those files and ignore the ones... (7 Replies)
Discussion started by: castrojc
7 Replies
7. Shell Programming and Scripting
Hi
I have a file like
1 2
1 2 3
1 5 6
11 12
10 2
7 5
17 12
I would like to have an output as
1 2 3 5 6 10 7
11 12 17
any help would be highly appreciated
Thanks (4 Replies)
Discussion started by: Harrisham
4 Replies
8. Shell Programming and Scripting
Hi,
I have 5 files with two columns. I need to merge all the 5 files based on column 1. If any of them are missing then corresponding 2nd column should be substituted by missing value.
I know hoe to do this for 2 files. but how can I implement for 5 files. I tried this based on 5 files but it... (2 Replies)
Discussion started by: Diya123
2 Replies
9. Shell Programming and Scripting
Hi all,
Say i have multiple files x1 x2 x3 x4, all with common header (date, time, year, age),,
How can I merge them to one singe file "X" in shell scripting
Thanks for your suggestions. (2 Replies)
Discussion started by: msarguru
2 Replies
10. UNIX for Beginners Questions & Answers
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
LEARN ABOUT DEBIAN
transmission-edit
TRANSMISSION-EDIT(1) BSD General Commands Manual TRANSMISSION-EDIT(1)
NAME
transmission-edit -- command-line utility to modify .torrent files' announce URLs
SYNOPSIS
transmission-edit [-h] [-a url] [-d url] [-r search replace] torrentfile(s)
DESCRIPTION
transmission-edit command-line utility to modify .torrent files' announce URLs
OPTIONS
-h --help
Show a short help page and exit.
-a --add URL
Add an announce URL to the torrent's announce-list if it's not already in the list
-d --delete URL
Remove an announce URL from the torrent's announce-list
-r --replace search replace
Substring search-and-replace inside a torrent's announce URLs. This can be used to change an announce URL when the tracker moves or
your passcode changes.
EXAMPLES
Update a tracker passcode in all your torrents:
$ transmission-edit -r old-passcode new-passcode ~/.config/transmission/torrents/*.torrent
AUTHORS
Jordan Lee
SEE ALSO
transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1)
http://www.transmissionbt.com/
BSD
June 9, 2010 BSD