I need the line printed with echo to append to eof of to exactly line, am i able to do that?
i mean
echo "sysctl -w lalala=1" > to end of file /etc/sysctl.conf
or to the 21st line, if the line exist, open new line and insert text there.
Thx.maybe i'm in wrong topic but anyway... (2 Replies)
Hi All,
I have two comma separated value(CSV) files, say FileA and FileB.
The contents looks like that shown below.
FileA
EmpNo,Name,Age,Sex,
1000,ABC,23,M,
1001,DES,24,F, ... (2 Replies)
Hello I am trying to append an incrimenting number to the end of each line I have it working with a temp file. But I want to do this without a temp file.
a=1
cat "file" | while read LINE
do
echo "$LINE, $a" >> filewithnumbers
a=`expr $a + 1`
... (4 Replies)
Hi All,
Is there any way to append a newline character at the end of a file(coma-separated file), through shell script?
I need to check whether newline character exists at the end of a file, if it does not then append it.
Regards,
Krishna (1 Reply)
Hi all,
i have to append a record at the end of the file(a file which is already with some records).how do i do?please help me?
is there any way of doing this with "SED" command.i am not sure.plz help me on this.
would appreciate your ideas!!!!
bye
rao. (3 Replies)
I have a file "sample.txt" with the content as below:
Hi
This is a Sample Text.
I need a single command using cat which serve the following purpose.
1.display the contents of sample.txt
2.append some text to it
3. and then exit
But, all should be served by a sinle command.:confused: (1 Reply)
I have a file which has data in the below format:
7810902|6783014102| || |0| |0| |0| |0|||||T|04/13/2006||9423|7421||100|2006-04-13 16:50:28|||2006-04-13 16:50:28|n|51|-1||214
1089929|||||NewSpCreateAction request successful. Activity ID = <826528>||||100|n|2006-04-13 16:50:27|2006-04-13... (3 Replies)
Trying to process 1000 or so files. Take original date and append to end of file. Like so:
tstpls42.bas
tstpls42.bas.Sep-11--2011
Been working along these lines:
date=`ll tstpls42.bas |cut -c 46-57 |sed -e 's/]/\-/g' | grep -v '^$'`
for i in *.bas ; do j=`ll $i /hpdump/b1 | awk... (1 Reply)
Discussion started by: joeadmin
1 Replies
LEARN ABOUT SUSE
rubibtex
rubibtex(1) teTeX rubibtex(1)NAME
rubibtex - make a bibliography for (La)TeX using Russian letters as item names
SYNOPSIS
rubibtex BASENAME
DESCRIPTION
rubibtex is used to run bibtex(1) on auxiliary files with Russian characters in item names (citation keys). It is part of the T2 package.
rubibtex copies the auxiliary file to /tmp, uses sed(1) to convert Cyrillic character commands to their 8-bit ASCII equivalents; runs bib-
tex(1) on the modified file; and finally moves the original auxiliary file back (overwriting the modified file).
rubibtex assumes that the bibtex(1) database (bib) files are encoded with the KOI8-R encoding.
FILES
basename.aux
LaTeX auxiliary file
BUGS
None known, but report any bugs found to the authors.
COPYRIGHT
The T2 package is Copyright 1997-1999 Werner Lemberg, Vladimir Volovich and any individual authors listed elsewhere in package files.
It may be distributed under the conditions of the LaTeX Project Public License, either version 1.1 of this license or (at your option) any
later version.
SEE ALSO bibtex(1), sed(1), <ftp://ftp.vsu.ru/pub/tex/T2/README>.
AUTHOR
Werner Lemberg <wl@gnu.org>, Vladimir Volovich <TeX@vvv.vsu.ru>.
This manual page was written by C.M. Connelly <c@eskimo.com>, for the Debian GNU/Linux system. It may be used by other distributions with-
out contacting the author. Any mistakes or omissions in the manual page are my fault; inquiries about or corrections to this manual page
should be directed to me (and not to the primary author).
teTeX October 2000 rubibtex(1)