6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to combine 2 lines in one
I have a text file
example:
bla123 blo31 xx:yy:zz
->bla43 bli532 00:01:02
bla1237 blo351 aa:ss:dd
->bla433 bli34332 55:10:28
I want the result to be:
bla123 blo31 xx:yy:zz, ->bla43 bli532 00:01:02
bla1237 blo351 aa:ss:dd, ->bla433 bli34332... (3 Replies)
Discussion started by: Petko Meshov
3 Replies
2. Shell Programming and Scripting
Hi,
I have a file like this:
"sdfc@abc.com","arovls","some addr
", "more stuff"
"ssss@email.com","arovls","some addr", "sss"
"edx@email.com","arovls","some addr", "sssdfvv"
"ssss@a55.com","arovls","some addr", "lsdsdgf"
"ssss@0234.com","aro
vls","123
Main", "lSdfv"
I want to... (4 Replies)
Discussion started by: erniel
4 Replies
3. Shell Programming and Scripting
Dear all
i am having text file like
xxx|yyy|1|2|
zzz|rrr|3|4|
www|xxx|><
5|6|><
jjj|kkk|><
8|9><
i want to join two lines which are having ' >< ' by taking only two lines at a stretch ...using awk command
the result output should be
xxx|yyy|1|2|
zzz|rrr|3|4|
www|xxx|5|6|... (2 Replies)
Discussion started by: suryanarayana
2 Replies
4. Shell Programming and Scripting
Hi
I am having text file like this
001|ramu|hno221|><
sheshadripuram|delhi|560061><
002|krishna|hno225|><
newdelhimain|delhi|560061><
i want to combine every two lines as single...line...
i.e
001|ramu|hno221|sheshadripuram|delhi|560061
can u pls help me (3 Replies)
Discussion started by: suryanarayana
3 Replies
5. Shell Programming and Scripting
Hi all,
If I have 4 kind of files , and each file have different date, all of them are flat file and have the same 4 fields
Date|ID|Class|City
english.20060228.dat
02/28/2006|ABC|ENG|San Tomas
02/28/2006|BCD|ENG|San Jone
02/28/2006|AFD|ENG|San Luis
02/28/2006|ADD|ENG|San Mateo
... (3 Replies)
Discussion started by: sabercats
3 Replies
6. UNIX for Dummies Questions & Answers
Hi
I have a file with the records
1 A B C D
2 E F G H
3 I J K L
4 M N O P
In the ouput I want
1 A B C D 2 # F G H
3 I J K L 4 M N O P
How to achieve this? (10 Replies)
Discussion started by: superprg
10 Replies
ARCHPATH(1) General Commands Manual ARCHPATH(1)
NAME
archpath - output arch (tla/Bazaar) archive names, with support for branches
SYNOPSIS
archpath
archpath branch
archpath branch--version
DESCRIPTION
archpath is intended to be run in an arch (tla or Bazaar) working copy.
In its simplest usage, archpath with no parameters outputs the package name (archive/category--branch--version) associated with the working
copy.
If a parameter is given, it may either be a branch--version, in which case archpath will output a corresponding package name in the current
archive and category, or a plain branch name (without '--"), in which case archpath will output a corresponding package name in the current
archive and category and with the same version as the current working copy.
This is useful for branching. For example, if you're using Bazaar and you want to create a branch for a new feature, you might use a com-
mand like this:
baz branch $(archpath) $(archpath new-feature)
Or if you want to tag your current code onto a 'releases' branch as version 1.0, you might use a command like this:
baz branch $(archpath) $(archpath releases--1.0)
That's much easier than using 'baz tree-version' to look up the package name and manually modifying the result.
AUTHOR
archpath was written by Colin Watson <cjwatson@debian.org>. Like archpath, this manual page is released under the GNU General Public
License, version 2 or later.
DEBIAN
Debian Utilities ARCHPATH(1)