Re: WOT: Scripting Question[Scanned]

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

 



On Thu, 2006-07-27 at 20:15 +0200, Alexander Dalloz wrote:
> Chris Bradford schrieb:
> 
> > Unfortunately in my environment I still have a few windows (yes i 
> > know!) servers, and on one of them I am trying to make a script that 
> > will interpret a text file called 'disc.txt' that looks like this:
> >
> >                   jo tynan                 15  Disc    
> > wdica                                 KIML                      1  
> > Disc    wdica                                 
> > sararyan                  6  Disc    rdpwd              
> > *There ARE spaces at the beginning of each line for some reason.*
> >
> > The file is generated every hour by the command:
> >
> > qwinsta /SERVER:servername | find "Disc" > disc.txt
> 
> I wouldn't have expected "find" in this command. Wouldn't that be "grep"?

I think the script is running on Windows, where "find" is a close as it
gets to grep, and isn't the Unix-like "find" command.

Paul.


-- 
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