10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, I have been trying to see how i can insert a column in the beginning to my html table
This is how it looks
I want to insert a column Job before Name column, so it looks like
Job Name Age
IT Sid 32
Doctor... (3 Replies)
Discussion started by: sidnow
2. Shell Programming and Scripting
I need to comment the lines starting with pattern "exclude" or "exclude=". If the work exclude comes at any other part, ignore it. Also, ignore, excludes, excluded etc. Ie only comment the line starting with exclude.
hi I am excluded
... (9 Replies)
Discussion started by: anil510
3. UNIX for Dummies Questions & Answers
How would you do vim copy line and paste at the beginning, middle, and end of another line. I know yy copies the whole line and p pastes the whole line, but on its own separate line. Sometimes I would like to copy a line to the beginning, middle, or end of another line. I would think this would be... (3 Replies)
Discussion started by: cokedude
4. UNIX for Dummies Questions & Answers
How can I specify special meaning characters like ^ or $ inside a regex range. e.g
Suppose I want to search for a string that either starts with '|' character or begins with start-of-line character.
I tried the following but it does not work:
sed 's/\(\)/<do something here>/g' file1
... (3 Replies)
Discussion started by: jawsnnn
5. Shell Programming and Scripting
I indeed your help for managing resarch data file.
for example I have,
type of atoms z vz
Si 34 54
O 20 56
H 14 13
Si 40 17
O ... (11 Replies)
Discussion started by: ariesto
6. Shell Programming and Scripting
This forum rocks.
I think this might be an easy thing, but since I am new to awk, please help me.
x y z
a b c
d e f
g h i
x y z 1
a b c 2
d e f 3 (8 Replies)
Discussion started by: jacobs.smith
7. Shell Programming and Scripting
Dear UNIX community,
I would like to to count characters from a specific row and have them displayed line-by-line.
I have a file called testAwk2.csv which contain the following data:
rabbit penguin goat
giraffe emu ostrich I would like to count in the middle row individually... (4 Replies)
Discussion started by: vnayak
8. Shell Programming and Scripting
i have an output like this :
but i would like to have it like this
042007,20952798 (4 Replies)
Discussion started by: jarmouda
9. Shell Programming and Scripting
i'm a newbie and this is my first post here. 'hope all of you fellow members are doing fine. so here is my first thread to ask for help on how to use awk language to do this task.
i have a file to process and after a series of other awk commands and shell scripts i managed to convert the... (11 Replies)
Discussion started by: genix2008
10. Shell Programming and Scripting
Could anybody help me.
I need to create a script that reads a text file from STDIN and prints out the file to STDOUT with line numbers at the beginning of each line.
Thanks. (5 Replies)
Discussion started by: mascorro