12-06-2012
Thank you very much, it seemed to have worked. Testing it out now
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I really hope someone can help me with this. I have several php files from a forum that I run, that now for some reason have blank lines after every line. Is there an easy way to make a script that does the following:
* If there are consecutive blank lines, delete all of them except one.
* If... (9 Replies)
Discussion started by: KidCactus
9 Replies
2. Shell Programming and Scripting
Hello All, I am having a problem in automating my UNIX Script to remove the blank spaces in between records. When I incorporate it into my script, the output file is deleting the whole content :confused:
Basically this is what I am trying to do:
File contains data like this:... (14 Replies)
Discussion started by: Vinsanity
14 Replies
3. Shell Programming and Scripting
Hi,
I need help to remove blank rows at the end of file.
Sample data:
"Oslo, Symra kino",Oslo,130-7,Symra 1,130-7-91
"Tønsberg, Brygga Kino SF",Tønsberg,202-1,Tønsberg SF 4,202-1-4
,,,,
,,,,
,,,,
,,,,
Expected data:
"Oslo, Symra kino",Oslo,130-7,Symra 1,130-7-91
"Tønsberg, Brygga... (6 Replies)
Discussion started by: cnraja
6 Replies
4. Shell Programming and Scripting
Hi,
I'm not a expert in shell programming, so i've come here to take help from u gurus.
I'm trying to tailor a csv file that i got to make it work for the LOAD FROM command.
I've a datatable csv of the below format -
--in file format
xx,xx,xx ,xx , , , , ,,xx,
xxxx,, ,, xxx,... (11 Replies)
Discussion started by: dvah
11 Replies
5. Shell Programming and Scripting
Hi,
I am facing a problem related to removing blank lines from a text document.
Input
Error 17-05-2011 11:01:15 VisualSVN Server 2.1 1001
The following information was included with the event:
line3
line4
Error 17-05-2011 11:00:25 VisualSVN Server 2.1 ... (13 Replies)
Discussion started by: mayursingru
13 Replies
6. UNIX and Linux Applications
When I 'vi' my test file I see some blank lines. However once I do :set list to display hidden characters, I see the empty lines literally like this:
^I$
How do I remove them? I cannot find a regex to match them. (3 Replies)
Discussion started by: alexsuv
3 Replies
7. Shell Programming and Scripting
Hello,
I have some data in a text file where fields are separated by blank lines. There are only 6 fields however some fields have several lines of data as I will explain. Also data in a particular field is not consistently the same size but does end on a blank line. The first field start with... (6 Replies)
Discussion started by: vestport
6 Replies
8. Shell Programming and Scripting
I am working on an assignment to pull all the records from excel sheet programatically and use the data for further calculations.
In this process, I first defined 10 records in excel sheet and executed the below code.
In the first run it is OK. But after deleting last few rows in excel sheet and... (0 Replies)
Discussion started by: giridhar276
0 Replies
9. Shell Programming and Scripting
Hi,
Which option is used to remove blank lines in VI (AIX). ?
Regards,
Siva (6 Replies)
Discussion started by: ksgnathan
6 Replies
10. Shell Programming and Scripting
I've spent the past hour trying different things and googling for this solution and cannot find the answer. Found variations of this, but not this exact thing.
I have the following text, which is the output from our mainframe. Each field is on a separate line, with a blank line between each... (7 Replies)
Discussion started by: lupin..the..3rd
7 Replies
ATF(7) BSD Miscellaneous Information Manual ATF(7)
NAME
ATF -- introduction to the Automated Testing Framework
DESCRIPTION
The Automated Testing Framework (ATF) is a collection of libraries to implement test programs in a variety of languages. These libraries all
offer similar functionality and any test program written with them exposes a consistent user interface.
Test programs using the ATF libraries rely on a separate runtime engine to execute them in a deterministic fashion. The runtime engine iso-
lates the test programs from the rest of the system and ensures some common side-effects are cleaned up. The runtime engine is also respon-
sible for gathering the results of all tests and composing reports. The current runtime of choice is Kyua, described in kyua(1).
If your operating systems distributes ATF, it should also provide an introductory tests(7) manual page. You are encouraged to read it now.
The rest of this manual page serves as a cross-reference to all the other documentation shipped with ATF.
Language bindings
atf-c(3) C programming interface.
atf-c++(3) C++ programming interface.
atf-sh(3) sh(1) programming interface.
Miscellaneous pages
atf-test-case(4) Generic description of test cases, independent of the language they are implemented in.
atf-test-program(1) Common interface provided by the test programs written using the ATF libraries.
SEE ALSO
kyua(1), tests(7)
HISTORY
ATF started as a Google Summer of Code 2007 project mentored by The NetBSD Foundation. Its original goal was to provide a testing framework
for the NetBSD operating system, but it grew as an independent project because the framework itself did not need to be tied to a specific
operating system.
Originally, ATF shipped the collection of libraries described in this manual page as well as a runtime engine. The runtime engine has since
been replaced by Kyua and the old tools were removed in 0.20, which shipped in early 2014.
As of late 2014, both FreeBSD and NetBSD ship ATF in their base systems and provide extensive test suites based on it.
For more details on historical changes, refer to:
/usr/share/doc/atf/NEWS
AUTHORS
For more details on the people that made ATF possible, refer to:
/usr/share/doc/atf/AUTHORS
BSD
September 14, 2014 BSD