Hi All,
silly question that I'm sure is easy to answer for a more experienced coder...
I have a file called test.txt containing the following text...
need, to, break, this, line, into, individual, lines
using sed, I'd like to make the file look like this...
need
to
break
this
line... (5 Replies)
hi
i want to replace spaces by comma
my file is
ADD 16428 170 160 3 WNPG 204 941 No 204802
ADD 16428 170 160 3 WNPG 204 941 No 204803
ADD 16428 170 160 3 WNPG 204 941 No 204804
ADD... (9 Replies)
Hi,
How can I replace the 6th comma on each line (of a csv) with a space?
Any online tutorials with plenty of examples using sed would be very useful.
Alex (2 Replies)
I have a huge file
which is pipe delimiter and i want to replace the pipe delimiter to a comma
Please Help as its v urgent.
Ex: parent|child|alias|....Heading of the file...and the data is of similar structure. (4 Replies)
I have the following text as an input text:
input.txt
Results('Toilet', 'Sink', )
and i want to remove the last comma so the output is
output.txt
Results('Toilet', 'Sink' )
I tried using the following sed command, but I get a parsing error:
sed s/, \)/\)/g input.txt >... (5 Replies)
Hi
I am working on xml file. I have to make sure below lines containing values within quotes are replaced by some character like "-".
Below are different lines in xml file.
Pattern 1:
<Connector port=....
.....
keystoremyPass="xxx" />
Pattern 2:
myword="xxxxx"
... (11 Replies)
Discussion started by: krsnadasa
11 Replies
LEARN ABOUT FREEBSD
atf
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