10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
My Perl script reads input from stdin and prints it out to stdout. After I read input I use BACKSPACE to erase characters. However BACKSPACE does not work with Unicode characters that are multi-bytes. On screen the character is erased but underneath only one byte is deleted instead of all... (3 Replies)
Discussion started by: tdw
3 Replies
2. Shell Programming and Scripting
hi there,
i have written the following simple lines:
find $SCENE -name "*.xml"
echo -n "Input the name of the image file to be read: "
set im_name = ($<)
i like to set the value for im_name automatically to the .xml, which was found by the first line without having to input it. the... (4 Replies)
Discussion started by: friend
4 Replies
3. Shell Programming and Scripting
Hello,
I was written a cgi with a textarea to save some words from web.
I grab and write words like this:
$cgiparams{'CONTENTS'} =~ s/\r//g;
#$cgiparams{'CONTENTS'} =~ s/á/á/g;
open(TM, ">$editedfilename");
#binmode(TM,... (1 Reply)
Discussion started by: Zaxon
1 Replies
4. Shell Programming and Scripting
In another thread (field separator in Perl) I nearly solved my sorting problem and I finally understood the Schwartzian transform especially thank to KevinADC. After that I've found out that the sorting was not done the way I need it. I did not notice it at first because I used all vowels as a... (6 Replies)
Discussion started by: ahsog
6 Replies
5. UNIX for Dummies Questions & Answers
Can anybody tell me what are these files are and what do they do and if they are safe to delete. Thanks
/var/cache/yum/base
# ls -al
total 44792
drwxr-xr-x 4 root root 4096 Sep 22 11:43 .
drwxr-xr-x 10 root root 4096 Nov 18 2007 ..
-rw-r--r-- 1 root root 0 Sep 22... (5 Replies)
Discussion started by: mcraul
5 Replies
6. UNIX for Dummies Questions & Answers
how can i find my own ip address from unix. command like who -x .this would provide all the ip address but i need to list only current user ip address. who am i command does not display the ip. (1 Reply)
Discussion started by: naushad
1 Replies
7. Shell Programming and Scripting
Hi
Which command do i use to know which version of solaris am i working on??
thanks in advance
regards (1 Reply)
Discussion started by: knopix
1 Replies
8. Shell Programming and Scripting
I'm looking for a script that allows me to export to CSV, the information I need. Somehow, I must gather the User ID, the User Login, the Last User Login, the Password complexity, the Password Age, The Expiration Date, . . .
My experience is equal to very, very few.
The only thing I have is... (2 Replies)
Discussion started by: catfish
2 Replies
9. Programming
I have a stream of characters like "\u8BBE\u5907\u7BA1"
and i want to display it.
I tried following things already without any luck.
1) printf("%s",L("\u8BBE\u5907\u7BA1"));
2) printf("%lc",0x8BBE);
3) setlocale followed by fwide followed by wprintf
4) also changed the local manually... (3 Replies)
Discussion started by: jackdorso
3 Replies
10. Solaris
Can anyone identify what this file is for?
241436 Dec 17 16:29 dtdbcache_:0
Is it necessary?
My system is at 94% and I am trying to clean / directory
as much as possible.
Any other files I can set to dev/null besides messages, and the
wtmp and wtmpx? Please and Thanks. (3 Replies)
Discussion started by: mnsalazar
3 Replies