Re: yum update / install from file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Konstam wrote:
> On Tue, 2007-10-23 at 10:17 -0500, Mikkel L. Ellertson wrote:
>> Aaron Konstam wrote:
>>> Will yum handle the lf chars in the file filename? I don't think so.
>>>
>> I think it is more a matter of how the shell handles them, isn't it?
>> The $(cat filename) will be expanded by the shell. I believe the
>> shell will pass them to the program just like they were space
>> separated on the command line.
>>
> Evidently but it seems strange to me. cat filename certainly includes lf
> chars.
> 
I suspect it is part of the design of how the shell handles the
output of a command that is embedded in the command line. The lf is
treated the same as any other whitespace. You may want to experiment
 to see some of the other differences - things like the fact that
quotes, embedded commands, and other special characters are passed
to the command unaltered by the shell.

"first last" will be split into two parameters and the "s passed as
part of the parameters. ($1="first and $2=last")

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux