[cs615asa] Script output
nbevacqu
nbevacqu at stevens.edu
Sun Mar 2 21:45:29 EST 2014
It was never specified that we couldn't and it was just a lot easier to
print the information as we parsed through the input rather than store
it and display it later.
-Nick Bevacqua
On 03/02/2014 9:40 PM, Paul-Anthony Dudzinski wrote:
> I agree that you should remove it but it is helpful for debugging. We
> created a -d option that will show debug information, but it is more
> pertinent to the script than the output so I am going to disable it
> before submitting. I think the most important thing to note is that
> you have mixed in the information and do not display all of one kind
> then all of the next etc.
>
> Do you have any specific reason for doing it this way?
>
> On Sun, Mar 2, 2014 at 9:29 PM, nbevacqu <nbevacqu at stevens.edu> wrote:
>
>> My group currently has it print like this:
>>
>> macaddr: 9c:8e:99:3d:4e:40
>> inet: 127.0.0.1
>> mask: 255.0.0.0
>> inet: ::1/128
>> macaddr: a0:88:b4:70:db:60
>> inet: 192.168.1.8
>> mask: 255.255.255.0
>> inet: fe80::a288:b4ff:fe70:db60/64
>>
>> We will, of course, remove the "type: " part from the front of each
>> line before we submit it.
>>
>> -Nick Bevacqua
>>
>> On 03/02/2014 9:04 PM, Paul-Anthony Dudzinski wrote:
>>
>> This seems like the output of least surprise, especially because
>> this
>> type of tool would most likely be used in some sort of script and
>> would not be seen by human eyes. This is also the way we
>> implemented
>> it, but just looking for some feedback.
>>
>> PA
>>
>> On Sun, Mar 2, 2014 at 9:01 PM, John Scire <jscire at stevens.edu>
>> wrote:
>>
>> Hello,
>>
>> Our group just has the output printing in a single column, like you
>> mentioned, but the printed order is always the same no matter the
>> order of the flags on the command line .
>>
>> Thanks,
>> John
>>
>> On 3/2/2014 8:53 PM, Paul-Anthony Dudzinski wrote:
>>
>> Hello everyone,
>> I was wondering if anyone was tying the output of the script to
>> the order of the flags ie:
>>
>> ifcfg -imn will give
>> IP addr
>> mac
>> netmask
>>
>> ifcfg -mni
>> mac
>> netmask
>> IP address
>>
>> Next I was wondering if anyone had made columns for their output
>> like:
>> IP Mac Netmask
>>
>> or if they were just doing a single column of output like above?
>>
>> Paul-Anthony
>>
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/mailman/listinfo/cs615asa [1] [1]
>>
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/mailman/listinfo/cs615asa [1] [1]
>
> Links:
> ------
> [1] https://lists.stevens.edu/mailman/listinfo/cs615asa [1]
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa [1]
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa [1]
>
>
>
> Links:
> ------
> [1] https://lists.stevens.edu/mailman/listinfo/cs615asa
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
More information about the cs615asa
mailing list