10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I will appreciate if you help me here in this script in Solaris Enviroment.
i have 2 files :
2)... (10 Replies)
Discussion started by: teokon90
2. Shell Programming and Scripting
Hello is it possible with awk or sed to replace any white space with the previous line characters in the same position?
I am asking this because the file I have doesn't always follow a pattern.
For example the file I have is the result of a command to obtain windows ACLs:
icacls C:\ /t... (5 Replies)
Discussion started by: nakaedu
3. Shell Programming and Scripting
How can I represent the position of 1 (considering only the 1s after the colon) in the word from field5 and above; counting from right to left.
TT-124 06-03-14 08-02-10 FAS CAT1:10
TT-125-1 05-03-14 10-06-08 CAS CAT2:1010 FAT1:10000
TT-125-3 07-03-14 11-02-06 FAS FAT1:1101... (6 Replies)
Discussion started by: aydj
4. Shell Programming and Scripting
So I'm iterating through a series of strings and I want to pick out a character in a certain position
so if I have the string
asigned to the variable $B.
Let $i=2, then I'd like it to asign the variable $a=b
similarly, if $i=3 then $a=c
The only things I can think of work with cut,... (3 Replies)
Discussion started by: viored
5. Shell Programming and Scripting
i want find the character '-' in a file from position 284-298, if it occurs i need to replace it with 'O ' for the position in the file. How to do that using SED command.
thanks in advance,
Sara (9 Replies)
Discussion started by: Sara183
6. Shell Programming and Scripting
i am having a file
Full_ARTMAS_20110510152425.xml in my local directory. i wanted to extract the character at the 35143546 th position at line 1 of this file.Can any body help me how to do it???
Anjali (2 Replies)
Discussion started by: angel12345
7. Shell Programming and Scripting
Can some one guide me to identify the position of a character using index in UNIX.
I have a record like "17/11/2010 15:16:39;reject;10.44.48.65;daemon alert; src: 10.44.48.112; dst: 172.21.52.88" . I need to identify the value which comes after _src:_ (_ denotes space).
I am able to... (15 Replies)
Discussion started by: suneel.mekala
8. UNIX for Dummies Questions & Answers
I have a script which picks up a series of large numbers, each of which are actually amalgamations of a series of other numbers. Unfortunately there are no separator characters so I can't use awk -F. I am looking for a way of splitting them into variables according to their... (4 Replies)
Discussion started by: michaeltravisuk
9. UNIX for Advanced & Expert Users
I have a file of the format :
I wish to count the occurrences of character 'z' in the file.
I also need to find out the position of 'z' in various lines.
and... (3 Replies)
Discussion started by: rochitsharma
10. UNIX for Dummies Questions & Answers
I am required to view the fixed postion file very often . I am looking for the utility like this
if the file has a one or multile line
Utility should make my file look like this
abcdefghijk l m n o p q r ... (4 Replies)
Discussion started by: akrathi