Sponsored Content
Full Discussion: Pb commande externe \r
Top Forums UNIX for Dummies Questions & Answers Pb commande externe \r Post 302470506 by vgersh99 on Wednesday 10th of November 2010 09:51:23 AM
Old 11-10-2010
Code:
tr -d '\r' < f_mkdir.sh > f_mkdir_2.sh

This User Gave Thanks to vgersh99 For This Post:
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cree a variable from a commande result

Hi everybody I m looking the put the result of a commande to a Variable i explain here is my command: cat sortie | grep "^"| awk '{ print $1}' 15 sortie is a text file I want to put the result of command in a variable X and the end i would like echo $X 15 (3 Replies)
Discussion started by: kykyboss
3 Replies

2. AIX

commande mailx : spaces in the title

Hello ! I use mailx to send emails. I use it like that mailx -s $titleMail $mailAdr < BODY_MAIL.txt The problem , is if i have some spaces in the variable titleMail it is considered by the command mailx like other mail adress to send the mail. Anyone would have a suggestion... (1 Reply)
Discussion started by: comboDev
1 Replies

3. Shell Programming and Scripting

sum two numbers on a grep commande with the parameter -n

Hello, I want to know how i can sum two numbers in a grep command with the parameter -n. this code return line number and the line who have the "pattern" : *\).*/\1/p') ] but now i want to suw *\).*/\1/p')] with 1 to have the next line: *\).*/\1/p')] + 1 : it can't work. Thanks you (4 Replies)
Discussion started by: samara80
4 Replies
set_color(1)                                                           fish                                                           set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy