03-05-2013
well. I'd love to do this without anything added besides the general DOS Shell.
I'd probably even cope with commands longer than 2 lines if needed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.
I have many files in a folder, and even more in the subfolders. I need a script that finds and removes certain characters (them being /n in this one) in the files in the folder and it's subfolders.
So, could someone write me a script that works in Linux, does this:
Searchs for "/n" in... (5 Replies)
Discussion started by: Zerby
5 Replies
2. Shell Programming and Scripting
I need to repeat this command on a configurable interval:
igal -a -r -U -w 6
I tried this:
#!/bin/bash
igal -a -r -U -w 6
sleep 30
Just a guess that it MIGHT work.
Can anyone point me in the right direction?
-R (6 Replies)
Discussion started by: robfindlay
6 Replies
3. Shell Programming and Scripting
Here is my code.
for file in *1.3.html ; do mv "$file" `echo $file | tr '.1.3' ''` ; done
For some reason I am getting an error.
mv: file.idlesince.1.3.html and file.idlesince.1.3.html are identical
Could this be done a different way? (5 Replies)
Discussion started by: mrlayance
5 Replies
4. Shell Programming and Scripting
Hi guys,
Hope you are all well.
This is a line of data from a csv file. I have used vi and set the 'set list' option to display the trailing $ character.
"01","Grocery","01006","eat Fish & Spreads"$
I have tried the following commands, but neither of them appear to be working?
1) tr... (13 Replies)
Discussion started by: Krispy
13 Replies
5. Shell Programming and Scripting
There are 10 files present which have Ctlr-M characters appended to each line of all files.
I have a unix script which processes the files in a loop.
And there is an inner loop which processes each line in the file concerned.
#inputFile is a variable which has the file name of the input... (2 Replies)
Discussion started by: akashtcs
2 Replies
6. Shell Programming and Scripting
Hi,
I have one file in the following format.
exa_resu_adj.4ge v.47645 PERSONAL INFORMAIONS PVT LTD 31 Dec 2009 04:36 Page 1
SALARY REPORT
Account Account Name CCode Bill No Balance T Amt
----------- ------------ ------- ---------- ------------- -------------
17490001 Mr Ram PM 10... (6 Replies)
Discussion started by: Kattoor
6 Replies
7. Shell Programming and Scripting
Hi guys
I'm relativley new to Perl, and have not touched html before, im trying to write a cgi script that prints all images on a single html page from a given directory. Im using perl to gather stats, rrdtool to update and create graphs now i just need to print these graphs all onto 1 index.cgi... (3 Replies)
Discussion started by: jeffersno1
3 Replies
8. Shell Programming and Scripting
Hi,
I've a csv file seperated by '|' from which I'm trying to remove the excess '|' characters more than the existing fields. My CSV looks like as below.
HRLOAD|Service|AddChange|EN
PERSONID|STATUS|LASTNAME|FIRSTNAME|ITDCLIENTUSERID|ADDRESSLINE1
10000001|ACTIVE|Testazar1|Testore1|20041|||... (24 Replies)
Discussion started by: rajak.net
24 Replies
9. UNIX Desktop Questions & Answers
I tried using below command
tr -cd "" < InputFile.xml > output.txt ============= This removes all the tabs/newline/extra spaces from a file
it successfully removed all the extra spaces,tabs and new line characters but then the complete file become one record. I want to retain one new line... (1 Reply)
Discussion started by: saini
1 Replies
10. Shell Programming and Scripting
i know , the below question has been repeated.
can you guys guide me .
I have the below input
999999 xxxxxxxxxxxxxx 123.45 2013-05-02 08:14 1 1 1 xxxx
999999 xxxxxxxxxxxxxx 123.45 2013-06-02 02:14 1 4 1 dddd
i need to remove from the column 54 to 70 , as like the below output.... (9 Replies)
Discussion started by: expert
9 Replies
libcaca DOS conio.h compatibility layer(3caca) libcaca libcaca DOS conio.h compatibility layer(3caca)
NAME
libcaca DOS conio.h compatibility layer -
Functions
__extern char * caca_conio_cgets (char *str)
DOS conio.h cgets() equivalent.
__extern void caca_conio_clreol (void)
DOS conio.h clreol() equivalent.
__extern void caca_conio_clrscr (void)
DOS conio.h clrscr() equivalent.
__extern int caca_conio_cprintf (const char *format,...)
DOS conio.h cprintf() equivalent.
__extern int caca_conio_cputs (const char *str)
DOS conio.h cputs() equivalent.
__extern int caca_conio_cscanf (char *format,...)
DOS stdio.h cscanf() equivalent.
__extern void caca_conio_delay (unsigned int)
DOS dos.h delay() equivalent.
__extern void caca_conio_delline (void)
DOS conio.h delline() equivalent.
__extern int caca_conio_getch (void)
DOS conio.h getch() equivalent.
__extern int caca_conio_getche (void)
DOS conio.h getche() equivalent.
__extern char * caca_conio_getpass (const char *prompt)
DOS conio.h getpass() equivalent.
__extern int caca_conio_gettext (int left, int top, int right, int bottom, void *destin)
DOS conio.h gettext() equivalent.
__extern void caca_conio_gettextinfo (struct caca_conio_text_info *r)
DOS conio.h gettextinfo() equivalent.
__extern void caca_conio_gotoxy (int x, int y)
DOS conio.h gotoxy() equivalent.
__extern void caca_conio_highvideo (void)
DOS conio.h highvideo() equivalent.
__extern void caca_conio_insline (void)
DOS conio.h insline() equivalent.
__extern int caca_conio_kbhit (void)
DOS conio.h kbhit() equivalent.
__extern void caca_conio_lowvideo (void)
DOS conio.h lowvideo() equivalent.
__extern int caca_conio_movetext (int left, int top, int right, int bottom, int destleft, int desttop)
DOS conio.h movetext() equivalent.
__extern void caca_conio_normvideo (void)
DOS conio.h normvideo() equivalent.
__extern void caca_conio_nosound (void)
DOS dos.h nosound() equivalent.
__extern int caca_conio_printf (const char *format,...)
DOS stdio.h printf() equivalent.
__extern int caca_conio_putch (int ch)
DOS conio.h putch() equivalent.
__extern int caca_conio_puttext (int left, int top, int right, int bottom, void *destin)
DOS conio.h puttext() equivalent.
__extern void caca_conio__setcursortype (int cur_t)
DOS conio.h _setcursortype() equivalent.
__extern void caca_conio_sleep (unsigned int)
DOS dos.h sleep() equivalent.
__extern void caca_conio_sound (unsigned int)
DOS dos.h sound() equivalent.
__extern void caca_conio_textattr (int newattr)
DOS conio.h textattr() equivalent.
__extern void caca_conio_textbackground (int newcolor)
DOS conio.h textbackground() equivalent.
__extern void caca_conio_textcolor (int newcolor)
DOS conio.h textcolor() equivalent.
__extern void caca_conio_textmode (int newmode)
DOS conio.h textmode() equivalent.
__extern int caca_conio_ungetch (int ch)
DOS conio.h ungetch() equivalent.
__extern int caca_conio_wherex (void)
DOS conio.h wherex() equivalent.
__extern int caca_conio_wherey (void)
DOS conio.h wherey() equivalent.
__extern void caca_conio_window (int left, int top, int right, int bottom)
DOS conio.h window() equivalent.
Detailed Description
These functions implement DOS-like functions for high-level text operations.
Author
Generated automatically by Doxygen for libcaca from the source code.
Version 0.99.beta18 Fri Apr 6 2012 libcaca DOS conio.h compatibility layer(3caca)