Python Forum
Redirection giving faulty results
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirection giving faulty results
#3
(Jul-18-2020, 10:00 PM)Gribouillis Wrote: You could perhaps try
Output:
grgsm_scanner | tee alpha.txt
for the first question.

#! /bin/sh
clear
echo "                      */\*/\*/\*/\*/\*/\*/\*/\* "
echo "                      |g|r|g|s|m|s|c|a|n|n|e|r| "
echo "                      *\/*\/*\/*\/*\/*\/*\/*\/* "
echo

echo "Available GSM Frequencies"

grgsm_scanner | tee alpha.txt


echo "The scan GSM frequencies are collected"
notify-send "COLLECTED!"
echo DONE!
Ive tried this too. yet the output is just the same- blank.
Output:
*/\*/\*/\*/\*/\*/\*/\*/\* |g|r|g|s|m|s|c|a|n|n|e|r| *\/*\/*\/*\/*\/*\/*\/*\/* Available GSM Frequencies linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown The scan GSM frequencies are collected DONE!
The alpha.txt file looks like this:
Output:
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown
Reply


Messages In This Thread
Redirection giving faulty results - by monstrup - Jul-18-2020, 09:32 PM
RE: Redirection giving faulty results - by monstrup - Jul-18-2020, 10:22 PM
RE: Redirection giving faulty results - by monstrup - Jul-19-2020, 06:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,330 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  Two exact "Fors" giving me different results? FilGonca 2 2,141 May-04-2020, 12:36 PM
Last Post: FilGonca
  How to append one function1 results to function2 results SriRajesh 5 3,322 Jan-02-2020, 12:11 PM
Last Post: Killertjuh
  My first program is a bit faulty. Please Help. Manjushri 3 2,282 Dec-06-2019, 01:12 PM
Last Post: snippsat
  Help with faulty code. Wilson1218 1 2,928 Jun-14-2017, 09:15 AM
Last Post: wavic
  Why are two similar bits of code giving different results? godmode 10 10,212 Dec-15-2016, 09:53 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020