I need a script for...
how to find a position of column data and print some string in the next line and same position
position should find based on *HEADER8* in text
for ex: ord123 abs 123 987HEADER89 test234
ord124 abc 124 987HEADER88 test235
... (1 Reply)
Hi,
I am a newbie in unix programming so maybe this is a simple question.
I would like to know how can I make a script that outputs only the values that are not between any given start and end positions
Example
file1:
2 30
40 80
82 100
file2:
ID1 1
ID2 35
ID3 80
ID4 81
ID6... (9 Replies)
Hi
I'm trying to use awk in a file(test123.dat).
My requirement is to to check for the 65th position, if the 65th position is a space then replace the 65th position by the number 9.
This is the code that i used:
awk '{substr($0,65,1) ~ / / }{sub(substr($0,65,1),"9")}{print}' test123.dat
... (7 Replies)
hi all,
am trying to modify a ksh script to group server names together depending on the cluster they sit in. currently the script does a
find . -name '*.pid'
to find all running servers and prints out their pids and names.
current output looks something like this :
serverA ... (1 Reply)
I want to remove text from nth position to nth position couple of times in same line
my line is
"hello is there anyone can help me with this question"
I need like this
ello is there anyone can help me with question
'h' is removed and 'this' removed from the line. I want to do this... (5 Replies)
hi guys,
i want command or script to display the content of file from 2nd position to last but one position of a file
abcdefghdasdasdsd
123,345,678,345,323
434,656,656,656,656
678,878,878,989,545
4565656667,65656
i want to display the same above file without first and... (2 Replies)
Identify the First Column Position in Second Column and add the position value in 3rd column.
Sample data:
a|c
b|d
c|a
d|b
e|e
f|g
g|f
|h
|i
Expected Output:
a|c|1
b|d|2
c|a|3
d|b|4 (6 Replies)
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Hi All,
I wanted a sed/awk command to add a value/character on a particular position without disturbing the position of other characters.
I have file a.txt
OL 10031 Day Black Midi Good Value P01 P07
OL 10031 Day Black Short Good Value P01 P07
I want to get the output as... (2 Replies)
Discussion started by: rahulsk
2 Replies
LEARN ABOUT DEBIAN
vite
VITE(1) ViTE Manual Pages VITE(1)
..___________..._
__vXXX=========onn=XX=X=s_..
_a=X=============v:|||||i:lvvn=Xn_,
"!XX===========v||||||||||||iiiv=Xn_
-"!XX======v||||||||||||iii:::vn=Xs
""!!!Zl|||||||||||iii::lIlvvnXX,.
Jl||||||||||i:vvvvlIvvvvv=Zc
_e|||||||||ia}"""""!=anvnvnnXno=========aa_.
]l||||||||v}' "Xnnnnnn=o=====XXXX=adZ=__
=||||||||n( .3nnnon=======X=Xs..___X|%!n_,
)1||||||i;^ 3=noo=======X=XXXZ1v|i|||||iIs,
X||||||a! 3=n========X=X=X=Ii||||||||||iIs,
.Jl|||va! .==o=o=====X=XXX=li|||||||||||||i3..
)na:!"` =========X=XX=1:|||||||||||||||||)a
.. .========X=XXIIi||||||||||||||||||v}
X=====X=X=1l|i|||||||||||||<a>}""^
.X===X==1Ii||||||||||||<a>""`:
+X=nI:i|||:llv_asl}"""`
-ni||<c"^.
-1%<e.
!3`
NAME
vite - a visual trace explorer
SYNOPSIS
vite
vite -h
vite [-f|-a] file_path [-e export_path] [-t [time_init]:[time_end]]
DESCRIPTION
ViTE is a visual trace explorer. It is a useful tool for profiling and debugging parallel programs (multi-process or multi-core).
ViTE reads program execution trace data from file (currently in Paje trace format) and display it in a graphical interface. Program execu-
tion data could be a state (drawn as a colored rectangle - color depends of the kind of state), an event (drawn as a green disc) or a com-
munication between two processes (drawn as a white arrow).
OPTIONS
ViTE accepts the following options:
-h Display help.
-f file_path
Open the file_path file.
-a file_path
Open the file_path file and display it entirely.
-e export_path
Export the opened trace file (with -f or -a option) to the export_path file in SVG format.
-t [time_init]:[time_end]
Just parse trace from time_init to time_end.
If time_init is missed, trace will be parsed from the minimum time to time_end.
If time_end is missed, trace will be parsed from time_init to the maximum time.
AUTHORS
ViTE was created by a group of french engineering school students for the INRIA research center.
REPORTING BUGS
Report bugs to ViTE developers <vite-developpeurs@lists.gforge.inria.fr>.
COPYRIGHT
ViTE was released under the CeCILL-A licence. The content can be found here: http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt.
Copyright (C) 2009 Kevin COULOMB
Copyright (C) 2009 Johnny JAZEIX
Copyright (C) 2009 Olivier LAGRASSE
Copyright (C) 2009 Jule MARCOUEILLE
Copyright (C) 2009 Pascal NOISETTE
Copyright (C) 2009 Arthur REDONDY
Copyright (C) 2009 Clement VUCHENER
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Version 1.2 April 2009 VITE(1)