Last modified files with owner / time / permissions

2008-09-10 Thread lexton
Hi, Below is a bash script that prints out the files that have been modified in the last 5 days. >From what I read it is not good to use ls -la in the manner I use below. Could I run this by just using the find command with additional arguments? I still need to be able to print everything that

Re: Last modified files with owner / time / permissions

2008-09-10 Thread Jan Schampera
lexton wrote: From what I read it is not good to use ls -la in the manner I use below. Could I run this by just using the find command with additional arguments? I still need to be able to print everything that the ls -la command gives me GNU find has an -ls option IIRC, which produces output

readline in read -e and dynamic-complete-history problems

2008-09-10 Thread lists-general
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: netbsdelf Compiler: cc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='netbsdelf' -DCONF_MACHTYPE='i386--netbsdelf' -DCONF_VENDOR='' -DLOCALEDIR='/usr/pkg/share/locale' -DPACKAGE='bas

What exactly does "read -e" do? bind weirdnesses

2008-09-10 Thread rocky
The most recent bash docs say this about builtin function read with option -e: Readline (@pxref{Command Line Editing}) is used to obtain the line. Consider this little program: PS4='-$LINENO: $? $ ' set -x builtin bind '"\C-x\C-r": "bind completion"' builtin bind -P while read -e -p 'huh? ' li