Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Bash script help

Bash script help

2004-02-07       - By Mathieu Masse

 Back
Reply:     1     2     3     4     5     6     7     8  

Stuart Sears wrote:

>On Saturday 07 February 2004 15:29, Mathieu Masse wrote:
>
>
> >Stuart Sears wrote:
> >
> >
> > >use win= 'mnt/W2K/Documents\ and\ Settings/Mathieu\ Masse/Application\Data/
> > >Mozilla/Profiles/Default\ User/qe0cqve6.slt/ '
> > >The single quotes will prevent the shell from interpreting the '\ ' bits
> > >as anything other than literal strings - this means that when you type
> > >$win, the value output should include the escapes.
> > >try it on the command line first!
> > >export win=...
> > >cd $win
> > >
> > >Stuart
> > >
> > >
> >Tried it doesn 't work, gives me the following:
> >
> >cp: copying multiple files, but last argument `User/qe0cqve6.slt ' is not
> >a directory
> >
> >
>so it 's still interpreting the spaces as argument separators.
>here are my experiments with this, and the one tnat finally worked...
># export win= '/mnt/w2k/Documents*/Stuart/Application*/Real/RealOne*/ '
># echo $win
> /mnt/w2k/Documents and Settings/Stuart/Application Data/Real/RealOne Player/
># cd $win
># pwd
>/mnt/w2k/Documents and Settings/Stuart/Application Data/Real/RealOne Player
>
>so i would say that using the * wildcard seems like a useable way forward.
>for you this would be:
>/mnt/W2K/Documents*/Mathieu*/Application*/Mozilla/Profiles/Default*/
>qe0cqve6.slt
>
>give it a try and see if it works...
>
>Stuart
>
>ps you don 't need to cc me, I 'm a subscriber to the list
>
>
>
That worked thanks a lot, I would have never thought of using the wildcard!

--

Mathieu Mass? M.Sc.

Phone: (819) 775-4654
Email: mathieu_masse@(protected)


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list