Sponsored Content
Full Discussion: False positive grep?
Top Forums Shell Programming and Scripting False positive grep? Post 303045849 by sea on Wednesday 15th of April 2020 01:15:43 PM
Old 04-15-2020
Thank you, but nope.

Still fails.
It passes [a-zA-Z] (double & single quotes) just to fail at the '^\[\[' line AFTERwards....
But either way, the "++debug output showed single quotes in the first post, despite not having them.

AHHHHHHHHHHHHHHHHH SCREW IT....
Closed terminal... started a new one and now....

No colors/borders anymore... FFFFFF=white of anger....

Bet the issue was somewhere there (in the env-memory of said now-closed terminal window-tab).....
All my (obviously imagined) fixes.. worthless... once more... again....

I'm back to square one... to fix the display-functions that i THOUGHT were working yesterday evening.. 24 hrs ago... WTF?!?!
No more coding today...
 

8 More Discussions You Might Find Interesting

1. Linux

bin\false

We have requirments to not allow a userid login abilities but allow users to 'su' to it. In solaris I normally set the shell in /etc/passwd to bin/false. THis does not work on Linux, any suggestions would help. (1 Reply)
Discussion started by: bryanthomas
1 Replies

2. Shell Programming and Scripting

false use of sed???

i want to delete every newline and every line which starts with "RECORD......." in a file. FILE: Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38) UNTERTITEL : Gräfin (seit 1707 Reichsgräfin) von, * Schwerin 4. 2. 1686, + Berlin 21. 10. 1744; wurde Record 61392 in base BROCKHAUS... (4 Replies)
Discussion started by: trek
4 Replies

3. Shell Programming and Scripting

Why is it always false?

Hi, I'm new to UNIX and am trying to learn shell scripting in order to work on an interface that I inherited when a co-worker left. I need to be able to check to see whether a file exists to determine whether the FTP has taken place, but in testing, the if statement always evaluates as false,... (3 Replies)
Discussion started by: JeffR
3 Replies

4. Shell Programming and Scripting

False Condition

Hi All, I am using the below Script to enter a line in the File: #!/bin/ksh # To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup echo "Enter the URL that should point to the particular microsite" read url # To delete the last line if it... (0 Replies)
Discussion started by: Shazin
0 Replies

5. IP Networking

false tcp connection

Why this happens? How to solve this? $netstat -na |grep 9325 tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds. ... (1 Reply)
Discussion started by: johnbach
1 Replies

6. AIX

Gid=0 and 7 + admin=FALSE

Checking configuration access files for an AIX server, left me wondering about this :confused:: If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level. Is this insecure condition kept if the user has admin variable... (0 Replies)
Discussion started by: bkiddo
0 Replies

7. UNIX for Dummies Questions & Answers

Tail with positive offset

I have read the below from the book bash cookbook.Tail +1 filenames is similar to cat filename I have tried the same in Ubuntu 11.10 with bash. 4.0 . I have received error for the Same. May I know in which system that will work fine ? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

8. Shell Programming and Scripting

False alerts

Hi I have written a script to send email alerts when load of my linux server reaches max point I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies
TERMINAL(1)							       Xfce							       TERMINAL(1)

NAME
Terminal - A Terminal emulator for X SYNOPSIS
Terminal [OPTION...] DESCRIPTION
Terminal is what is known as an X terminal emulator, often referred to as terminal or shell. It provides an equivalent to the old-fashioned text screen on your desktop, but one which can easily share the screen with other graphical applications. Windows users may already be familiar with the MS-DOS Prompt utility, which has the analogous function of offering a DOS command-line under Windows, though one should note that the UNIX CLI offer far more power and ease of use than does DOS. Terminal emulates the xterm application developed by the X Consortium. In turn, the xterm application emulates the DEC VT102 terminal and also supports the DEC VT220 escape sequences. An escape sequence is a series of characters that start with the Esc character. Terminal accepts all of the escape sequences that the VT102 and VT220 terminals use for functions such as to position the cursor and to clear the screen. OPTIONS
Option Summary Here is a summary of all the options, grouped by type. Explanations are in the following sections. General Options -h, --help; -V, --version; --disable-server; --default-display=display; --default-working-directory=directory Window or Tab Separators --tab; --window Tab Options -x, --execute; -e, --command=command; --working-directory=directory; -T, --title=title; -H, --hold Window Options --display=display; --geometry=geometry; --role=role; --startup-id=string; -I, --icon=icon; --fullscreen; --maximize; --show-menubar, --hide-menubar; --show-borders, --hide-borders; --show-toolbars, --hide-toolbars General Options -h, --help List the various command line options supported by Terminal and exit -V, --version Display version information and exit --disable-server Do not register with the D-BUS session message bus --default-display=display Default X display to use. --default-working-directory=directory Set directory as the default working directory for the terminal Window or Tab Separators --tab Open a new tab in the last-specified window; more than one of these options can be provided. --window Open a new window containing one tab; more than one of these options can be provided. Tab Options -x, --execute Execute the remainder of the command line inside the terminal -e, --command=command Execute command inside the terminal --working-directory=directory Set directory as the working directory for the terminal -T, --title=title Set title as the initial window title for the terminal -H, --hold Causes the terminal to be kept around after the child command has terminated Window Options --display=display X display to use for the last- specified window. --geometry=geometry Sets the geometry of the last-specified window to geometry. Read X(7) for more information on how to specify window geometries. --role=role Sets the window role of the last-specified window to role. Applies to only one window and can be specified once for each window you create from the command line. It is mostly used for session management inside Terminal --startup-id=string Specifies the startup notification id for the last-specified window. Used internally to forward the startup notification id when using the D-BUS service. -I, --icon=icon Set the terminal's icon as an icon name or filename. --fullscreen Set the last-specified window into fullscreen mode; applies to only one window; can be specified once for each window you create from the command line. --maximize Set the last-specified window into maximized mode; applies to only one window; can be specified once for each window you create from the command line. --show-menubar Turn on the menubar for the last-specified window. Can be specified once for each window you create from the command line. --hide-menubar Turn off the menubar for the last-specified window. Can be specified once for each window you create from the command line. --show-borders Turn on the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. --hide-borders Turn off the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. --show-toolbars Turn on the toolbars for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. --hide-toolbars Turn off the toolbars for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. EXAMPLES
Terminal --geometry 80x40 --command mutt --tab --command mc Opens a new terminal window with a geometry of 80 columns and 40 rows and two tabs in it, where the first tab runs mutt and the second tab runs mc. ENVIRONMENT
Terminal uses the Basedir Specification as defined on Freedesktop.org[1] to locate its data and configuration files. This means that file locations will be specified as a path relative to the directories described in the specification. ${XDG_CONFIG_HOME} The first base directory to look for configuration files. By default this is set to ~/.config/. ${XDG_CONFIG_DIRS} A colon separated list of base directories that contain configuration data. By default the application will look in ${sysconfdir}/xdg/. The value of ${sysconfdir} depends on how the program was build and will often be /etc/ for binary packages. ${XDG_DATA_HOME} The root for all user-specific data files. By default this is set to ~/.local/share/. ${XDG_DATA_DIRS} A set of preference ordered base directories relative to which data files should be searched in addition to the ${XDG_DATA_HOME} base directory. The directories should be separated with a colon. FILES
${XDG_CONFIG_DIRS}/Terminal/terminalrc This is the location of the configuration file that includes the preferences which control the look and feel of Terminal. ${XDG_DATA_DIRS}/Terminal/Terminal-toolbars.ui This file includes the user interface definition for the toolbars. If you customize the toolbars using the graphical toolbars editor, Terminal will store the new toolbars layout in the file ${XDG_DATA_HOME}/Terminal/Terminal-toolbars.ui. SEE ALSO
bash(1), X(7) AUTHORS
Nick Schermer <nick@xfce.org> Developer Benedikt Meurer <benny@xfce.org> Software developer, os-cillation, System development, Developer NOTES
1. Freedesktop.org http://freedesktop.org/ Terminal 0.4.8 06/21/2011 TERMINAL(1)
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy