10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using the unix terminal in Mac osx yosemite.
I have a file
The first column is the userid, the second column is each event.
I'd like a separate record for each event.
1 ... (5 Replies)
Discussion started by: Nataliemf
2. Shell Programming and Scripting
I need to break the line after every 3rd semi colon(;) using Unix shell scripting
RGHY; (1 Reply)
Discussion started by: meet_calramz
3. Shell Programming and Scripting
I'm trying to make the below file1 look like file2, can anyone help?
Basically I just hit backspace on every line that starts with a number.
Result > file2: (4 Replies)
Discussion started by: demmel
4. Shell Programming and Scripting
I am prety new to the hell scripting world. I am running some grep/cut commands and extracting from a csv file into a list. But the final product I need is that the whole list that I now have has to be broken and separated into columns.
Say what I now have extracted is a list of... (6 Replies)
Discussion started by: h_rishi
5. Shell Programming and Scripting
Please can you advise/help on the below issue
i did a bcp out of a table, it is having problem of line break such that one line is getting broken in two lines for many records.
Line 1: - 000f00000bfe2c2c 000218310300000000GBP GBP 734654 10970.35 ... (3 Replies)
Discussion started by: mad_man12
6. UNIX for Dummies Questions & Answers
So I'm in a Unix class and our assignment was to go into VI and write a script to make this file tree. At the end of it, I'd like it to echo "This is the file tree you've created" then a line break, then . But I'm not sure as to who to do it. Is there a way for when I run it (./filesystem), the... (4 Replies)
Discussion started by: bbowers
7. Shell Programming and Scripting
I have a file that contains the following:
^field LINE_1 data
^field LINE_2 data
^field LINE_3 data
^field LINE_4 data
^field LINE_5 data
And im looking to do a line break at the end of the number before the text to make it look like this
^field LINE_1 ... (11 Replies)
Discussion started by: darbs121
8. Shell Programming and Scripting
I cannot seem to get this to work..
I have a file which has about 100 lines, and there is no end of line (line break \n) at the end of each line, and this is causing problem when i paste them into an application.
the file looks like this
this is a test
that is a test
balblblablblhblbha... (1 Reply)
Discussion started by: fedora
9. Shell Programming and Scripting
...when the lines use both a colon and commas to separate the parts you want read as information.
The first version of this script used cut and other non-Bash-builtins, frequently, which made it nice and zippy with little more than average processor load in GNOME Terminal but, predictably, slow... (2 Replies)
Discussion started by: SilversleevesX
10. Shell Programming and Scripting
Have a doubt in ksh..Am not familiar with arrays but i have tried out a script..
plzzzzz correct me with the script
My i/p File is:
(PROTOCOL = TCP)
(Host = 192.168.2.2)
(Port = 1525)
(CONNECT_DATA = (SID = TESTDB1)
... (7 Replies)
Discussion started by: aajan