First  |  Prev |  Next  |  Last
Pages: 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
list remote ftp/web dir with curl?
Can one list a remote web directory with curl? I did this (as per the man page)- curl -l http://releases.mozilla.org//pub/mozilla.org/firefox/releases/latest/mac/en-US but got a 301 error. ftp allows me to list it though. ... 22 Dec 2009 09:13
configure MySQL on Leopard
Okay, I downloaded MySLQ to a usr/local/src directory. I extracted it from the tarball and then I cd'd to the newly created directory /usr/local/src/mysql-5.1.40-osx10.5-powerpc I have to configure it the following way before I do the make. CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -f... 19 Dec 2009 22:31
replace unknown numeric values in a file
I have files that contain strings such as: width="???" height="???" where the question marks represent positive integers of either two or three digits. Similar strings do exist but only once in each file does " width=" and " height=" exist. If I don't know where this string exists for sure, is there anyway to obta... 23 Dec 2009 15:10
What does 'S' mean in mode? And how to remove it?
I have a directory of mode 'drwx--Sr-x'. I'm wondering what 'S' means and how to remove this mode. ... 18 Dec 2009 18:20
Bash Zenity help
What Im trying to do is use par2 to create some restore files and have a zenity progress bar as it does it. Sounds simple but doesnt want to work for me. I already have the syntax for creating the rar files and it works fine. (rar a -v30000 $arch $up) | 2>&1 zenity --progress \ --title="Newsposter" \ --text... 17 Dec 2009 21:30
compress all *.c files in a hierarchy?
I want to copy all of my C code in one directory hierarchy into one compressed file. Excepting those with a name containing "chart". This is how I began: find . -name "*.c" |grep -v "chart" | { while IFS=' ' read file do At this point, I imagine that I would add one file at a time in the l... 18 Dec 2009 00:46
split in memory
Hello, I gave a big zipped file (foo.gz) and I would want to split it into n small files, but in memory, because I haven't enough space on my FS. I tried with mkfifo, gunzip and split, but it splits first all the files on disk and it stops logically with "No space left on device" error. Is there another way ? ... 18 Dec 2009 15:00
Textfile with unwanted spaces in words
I have a text file containing some random words with unwanted spaces between their characters, such as: === This is a correct line with text, this is still Text this is still Text this is still Text, b u t this is T e x t w e don't w a n t so it's u n w a n t e d F o r m this Text is ok this Text is ok this Text... 15 Dec 2009 18:56
Is is OK to unset a variable that is not set ?
I have a shell script written by someone else, which starts #!/usr/bin/env bash then has the line: unset DISTUTILS_DEBUG It's a bit pointless, as DISTUTILS_DEBUG is not set in the script, but there is some code commented out, where is was obviously set at one time. I've added set -e in this s... 15 Dec 2009 15:35
The select builtin and white space
I want to use the select builtin to select filenames, and some of them contains the character _ I want that character to be printed as whitespace when select runs. Let's say I have these files: Small_file Medium_file Big_file running: select f in *; do something; done should print this: 1) Small file ... 14 Dec 2009 12:07
First  |  Prev |  Next  |  Last
Pages: 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58