Search Results

Search: Posts Made By: Vijay81
1,594
Posted By Corona688
You don't really need to export this. All you...
You don't really need to export this. All you want is a shell variable.

If you don't put the text in quotes, it won't know it's all supposed to be in the variable and interpret them line by line....
11,103
Posted By Scrutinizer
Hi Vijay, this is called parameter expansion...
Hi Vijay, this is called parameter expansion (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02).
2,091
Posted By in2nix4life
Not sure what OS and/or shell you're using, but...
Not sure what OS and/or shell you're using, but this worked for me:


for x in file*;do dos2unix -n $x ${x}_new;done
dos2unix: converting file file1 to file file1_new in UNIX format ......
2,091
Posted By methyl
It always helps to post what Operating System and...
It always helps to post what Operating System and version you have and what Shell you are using. We can't check your syntax.


Right $FILE and $FILE_I are valid names for two different environment...
6,540
Posted By Scott
-lt doesn't know (or care) if it's a date in that...
-lt doesn't know (or care) if it's a date in that numeric format. So long as it's a number. If one or both of them is / are blank, then 0 or 00010101 makes no difference.

And, the "default" (if...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy